/* Sticky footer styles 
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
/*   margin-bottom: 40px;
    padding-top: 55px;*/
}

.otp-input {
    width: 45px !important;
    height: 55px;
}

.otp-input:focus {
    border-color: #56A0E8;
    box-shadow: 0 0 0 0.2rem rgba(30, 93, 180, 0.25);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
}

.sxadrlbl {
    width: 100px;
}

.px-75 {
    width: 75px !important;
}

.px-175 {
    width: 175px !important;
}

.w-20{
    width: 20%;
}
.w-30 {
    width: 30%;
}

.w-35 {
    width: 35%;
}

.w-40 {
    width: 40%;
}

.w-65 {
    width: 65%;
}

table.scroll {
}

table.scroll thead {
}

table.scroll thead tr:after {
    content: '';
    overflow-y: scroll;
    visibility: hidden;
}

table.scroll thead th {
    flex: 1 auto;
    display: block;
}

nav.scroll,
table.scroll thead,
table.scroll tbody {
    display: block;
    overflow-y: auto;
}

a[href] {
    text-decoration: none;
/*    color: black;*/
}

table.scroll thead tr,
table.scroll tbody tr {
    display: flex;
}

    table.scroll tbody tr td {
    }

    table.scroll thead tr th, table.scroll tbody tr td {
        padding: 5px;
        text-align: center;
        flex: 1 auto;
        word-wrap: break;
    }

.c1 {
    width: 3%;
}

.c2 {
    width: 8%;
}

.c3 {
    width: 8%;
}

.c4 {
    width: 5%;
}

.c5 {
    width: 11%;
}

.c6 {
    width: 10%;
}

.c7 {
    width: 15%;
}

.c8 {
    width: 15%;
}

.c9 {
    width: 25%;
}

.a1 {
    width: 2%;
}

.a2 {
    width: 3%;
}

.a3 {
    width: 2%;
}

.a4 {
    width: 9%;
}

.a5 {
    width: 8%;
}

.a6 {
    width: 10%;
}

.a7 {
    width: 10%;
}

.a8 {
    width: 9%;
}

.a9 {
    width: 5%;
}

.a10 {
    width: 5%;
}

.a11 {
    width: 5%;
}

.a12 {
    width: 10%;
}

.b0 {
    width: 8%;
}

.b1 {
    width: 8%;
}

.b2 {
    width: 8%;
}

.b3 {
    width: 8%;
}

.b4 {
    width: 8%;
}

.b5 {
    width: 8%;
}

.b6 {
    width: 8%;
}

.b7 {
    width: 8%;
}

.b8 {
    width: 8%;
}

.b9 {
    width: 8%;
}

.b10 {
    width: 8%;
}

.b11 {
    width: 8%;
}

.b12 {
    width: 8%;
}

.fs {
    font-size: 12px;
}

.form-signin {
    width: 100%;
    max-width: 32rem;
    padding: 15px;
    margin: auto;
}

.form-group {
    margin-bottom: 1rem;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Style Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 80px;
    height: 30px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #dc3545;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #228b22;
}

input:focus + .slider {
    box-shadow: 0 0 1px #228b22;
}

input:checked + .slider:before {
    -webkit-transform: translateX(50px);
    -ms-transform: translateX(50px);
    transform: translateX(50px);
}

/*  hover  btnTestMail && alink*/
.btnTestMail {
    transition: background-color .2s, color .2s;
}

.btnTestMail span {
    color: #6c757d;
}

.btnTestMail:hover {
    background-color: #6c757d;
    border-color: #28a745;
    color: #fff;
}

.btnTestMail i {
    transform: rotate(45deg);
    color: #4371a0;
    transition: color .2s;
}

.btnTestMail:hover i {
    color: #fff;
}

.btnTestMail:hover span {
    color: #fff;
}

/*  hover  alink-return*/
.alink-return i {
    color: #0dcaf0;
}
.alink-return span {
    color: #0dcaf0;
}
.alink-return:hover i {
    color: #fff;
}
.alink-return:hover span {
    color: #fff;
}

/*  hover  alink-addItem*/
.alink-addItem i {
    color: forestgreen;
}
.alink-addItem span {
    color: forestgreen;
}
.alink-addItem:hover i {
    color: #fff;
}
.alink-addItem:hover span {
    color: #fff;
}

/*  hover  alink-cancel*/
.alink-cancel i {
    color: red;
}
.alink-cancel span {
    color: red;
}
.alink-cancel:hover i {
    color: #fff;
}
.alink-cancel:hover span {
    color: #fff;
}

/*  hover  outline-alink-blue*/
.outline-alink-blue i {
    color: #0d6efd;
}

.outline-alink-blue:hover i {
    border-radius: .25rem !important;
    background-color: #0d6efd;
    color: #fff;
}

/*  hover  outline-alink-red*/
.outline-alink-red i {
    color: red;
}

.outline-alink-red:hover i {
    border-radius: .25rem !important;
    background-color: red;
    color: #fff;
}


/* Default state (not activated) */
.form-switch .form-check-input {
    background-color: red;
    border-color: red;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e") !important;
}

/* When activated (checked) */
.form-switch .form-check-input:checked {
    background-color: forestgreen;
    border-color: forestgreen;
}

/*  hover  customslogo-img*/
.customslogo-img svg {
    width: 2em;
    height: 3em;
    color: #0d6efd;
}
.customslogo-img:hover svg {
    border-radius: .25rem !important;
    background-color: #0d6efd;
    color: #fff;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

.shipment-wrapper {
    min-width: 150px;
}

/* BADGES */

.shipment-badges {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.shipment-badge {
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.shipment-badge.active {
    background: #e7f1ff;
    color: #0d6efd;
}

.shipment-badge.demo-active {
    background: #fff3cd;
    color: #856404;
}

/* TRACK */

.track-container {
    position: relative;
    height: 28px;
}

.track-steps {
    position: relative;
    z-index: 2;
}

.track-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transition: .3s;
}

.track-step.done {
    background: #198754;
    color: white;
}

.track-step.active {
    background: #0d6efd;
    color: white;
    transform: scale(1.20);
}

.track-step.cancel {
    background: #dc3545;
    color: white;
}

/* merge tow <tr> in one table */
.custom-table-hover tbody {
    border-top : none !important; 
}

.shipment-block .main-row td {
    border-bottom: none !important;
}

.shipment-block .sub-row td {
    border-top: none !important;
    padding: 0;
}

.shipment-block:hover td {
    background-color: var(--bs-table-hover-bg, rgba(0, 0, 0, 0.04)) !important;
    cursor: pointer;
}

/* Modify the behaviour when Dark Mode is active */
[data-bs-theme="dark"] thead.table-secondary,
[data-bs-theme="dark"] .table-secondary {
    --bs-table-bg: #15284d !important;
    --bs-table-color: #f8f9fa !important;
    border-color: #373b3e !important;
}

[data-bs-theme="dark"] .table {
    --bs-table-bg: #1a202c !important;
}

[data-bs-theme="dark"] .custom-ud-nav .has-dropdown:hover .includes-navi-headline {
    background-color: #15284d !important;
}

[data-bs-theme="dark"] .loginhover:hover {
    background-color: #15284d !important;
}

[data-bs-theme="dark"] .mixblendmode img {
    mix-blend-mode: multiply;
}

/* Configure the SweetAlert2 window to automatically adapt to dark mode */
[data-bs-theme="dark"] .swal2-popup{
    background-color : #1a202c !important;
    color : #e2e8f0;
}

[data-bs-theme="dark"] .swal2-title,
[data-bs-theme="dark"] .swal2-html-container {
    color: #e2e8f0 !important;
}
[data-bs-theme="dark"] .swal2-popup .swal2-validation-message {
    background-color: #1a202c !important;
    color: #e2e8f0 !important;
}

/* ==========================================================================
     Automatically change the Flatpickr library theme when Bootstrap’s dark mode is enabled
   ========================================================================== */

[data-bs-theme="dark"] .flatpickr-calendar {
    background: #3f4458 !important;
    border-color: #373b3e !important;
    box-shadow: 1px 0 0 #20222c, -1px 0 0 #20222c, 0 1px 0 #20222c, 0 -1px 0 #20222c, 0 3px 13px rgba(0,0,0,0.08) !important;
}

[data-bs-theme="dark"] .flatpickr-day,
[data-bs-theme="dark"] .flatpickr-months .flatpickr-month,
[data-bs-theme="dark"] .flatpickr-current-month,
[data-bs-theme="dark"] span.flatpickr-weekday {
    color: #f8f9fa !important;
    fill: #f8f9fa !important;
}

[data-bs-theme="dark"] .flatpickr-day.flatpickr-disabled,
[data-bs-theme="dark"] .flatpickr-day.flatpickr-disabled:hover {
    color: #6c757d !important;
}

[data-bs-theme="dark"] .flatpickr-day:hover,
[data-bs-theme="dark"] .flatpickr-day.prevMonthDay:hover,
[data-bs-theme="dark"] .flatpickr-day.nextMonthDay:hover {
    background: #343a40 !important;
    border-color: #495057 !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .flatpickr-day.selected,
[data-bs-theme="dark"] .flatpickr-day.selected:hover {
    background: #0d6efd !important; 
    border-color: #0d6efd !important;
    color: #fff !important;
}

[data-bs-theme="dark"] .flatpickr-months .numInput {
    color: #f8f9fa !important;
}

[data-bs-theme="dark"] .flatpickr-months .numInputWrapper span.arrowUp:after {
    border-bottom-color: #f8f9fa !important;
}

[data-bs-theme="dark"] .flatpickr-months .numInputWrapper span.arrowDown:after {
    border-top-color: #f8f9fa !important;
}


[data-bs-theme="dark"] .flatpickr-months .flatpickr-prev-month svg,
[data-bs-theme="dark"] .flatpickr-months .flatpickr-next-month svg {
    fill: #f8f9fa !important;
}

[data-bs-theme="dark"] .flatpickr-months .flatpickr-prev-month:hover svg,
[data-bs-theme="dark"] .flatpickr-months .flatpickr-next-month:hover svg {
    fill: #0d6efd !important;
}
/*#####################################*/

.loginhover:hover {
    background-color: #e2e3e5;
}

.custom-ud-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f6f6f4;
    position: relative;
    width: 100%;
}

.custom-ud-nav .has-dropdown {
    position: static;
}

.custom-ud-nav .nav-link-btn {
    font-size: 15px;
    font-family: 'inter-medium', Helvetica, Arial, sans-serif;
    padding: 12px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .22px;
    transition: color 0.2s ease;
}

.custom-ud-nav .icon-arrow-slim {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid;
    transition: transform 0.2s ease;
}

.custom-ud-nav .dropdown-panel-wrapper {
    display: none;
    position: absolute;
    left: -23%;
    right: 0;
    width: 155%;
    top: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    border-top: 1px solid #e2e8f0;
    padding: 25px 0;
    z-index: 101;
}


/*.custom-ud-nav .has-dropdown:hover .nav-link-btn {
    color: #d24a4b;
}*/

.custom-ud-nav .active {
    border-bottom: 2px solid #8ba7e1;
}

.custom-ud-nav .has-dropdown:hover .icon-arrow-slim {
    transform: rotate(180deg);
    border-top-color: #0d6efd;
}


.custom-ud-nav .has-dropdown:hover .dropdown-panel-wrapper {
    display: block;
    animation: udNavFadeIn 0.18s ease-in-out;
}


.custom-ud-nav .has-dropdown:hover .includes-navi-headline {
    background-color: #e2e3e5;
}


/*.custom-ud-nav .has-dropdown:hover .includes-navi-headline::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;*/
    /*transform: translateX(-50%) rotate(45deg);*/
    /*width: 10px;
    height: 10px;
    background: red;
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    z-index: 10001;
}*/


.mega-menu-grid-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
}


.mega-menu-grid-list .dropdown-item-link {
    font-size: 15px;
    color: forestgreen;
    font-family: 'inter-regular', Helvetica, Arial, sans-serif;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    display: inline-block;
    transition: color 0.15s ease;
    cursor : pointer
}


.mega-menu-grid-list .dropdown-item-link::after {
    content: " ";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 2px;
    left: 0;
    background-color: forestgreen;
    transition: width 0.2s ease;
}

.mega-menu-grid-list .dropdown-item-link:hover {
    color: forestgreen;
}

.mega-menu-grid-list .dropdown-item-link:hover::after {
    width: 100%;
}

.mega-menu-grid-list .divider-item {
    width: 1px;
    height: 24px;
    background-color: #cbd5e1;
    align-self: center;
}

@keyframes udNavFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#overlay-navigation {
    display: none;
    width: 100%;
    height: 100%;
    background-color: rgba(0,12,52,.35);
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
}

.dropdown-panel-wrapper {
    z-index: 100;
    position: relative;
}

@media (max-width: 1008px) {
    #root-offen #overlay-navigation {
        display: none !important;
    }
}