@font-face {
    font-family: "Roboto";
    font-weight: 100;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 200;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 300;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 400;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 500;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 600;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 700;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 800;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-weight: 900;
    font-display: swap;
    src: url(/css/Roboto-VariableFont_wdthwght.ttf) format("truetype");
}

body {
    background-color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    font-size: large;
}

.ion-ios-menu:before {
    content: ""
}

button {
    text-align: center;
}

.btn-primary {
    background-color: #01569F !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #ffffff;
}

.btn-secondary {
    background-color: #868686 !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #ffffff;
}

.alert {
    position: relative;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.offcanvas {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 350px;
    background-color: #fff;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.offcanvas-start {
    left: 0;
    transform: translateX(-100%);
}

.offcanvas-end {
    right: 0;
    transform: translateX(100%);
}

.offcanvas.show {
    transform: translateX(0);
}

.offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-body {
    padding: 1rem 1rem;
}

.btn-close {
    padding: 0.5rem;
    background: transparent;
    border: 0;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.8;
}

.btn-close::before {
    content: '×';
}

.account-active {
    font-weight: 600;
    color: #01569F;
}

.row {
    width: 100%;
}

*:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

*:focus:not(:focus-visible) {
    outline: 0 !important;
    box-shadow: none !important;
}

label {
    color: #666;
    font-size: 85%;
    margin-bottom: 0px;
    box-sizing: border-box;
    font-weight: 400;
    display: block;
}

input,
select,
textarea {
    border: 1px solid #eaeaea;
    border-bottom: 2px solid #01569F !important;
    background-color: #ffffff;
}

input {
    margin-top: 4px !important;
}

.btn-primary {
    background-color: #01569F !important;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0px;
    border-radius: 10px;
}

@media all {
    input[type=checkbox] {
        display: inline-block;
        margin: 0;
    }
    input[type=checkbox] {
        -webkit-appearance: checkbox;
    }
}

.header-top-right {
    position: absolute;
    top: 12px;
    right: 75px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

@media (max-width: 991px) {
    .header-top-right {
        display: none !important;
    }
}

.header-top-right .nav-link,
.header-top-right a {
    color: white;
    text-decoration: underline;
    text-decoration-color: white;
    text-underline-offset: 3px;
}

.header-top-right .warenkorb-anzahl {
    position: absolute;
    top: -10px;
    right: -28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 9px;
    border-radius: 999px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    opacity: 0;
    transition: opacity 0.15s linear;
}

.modal.show {
    opacity: 1;
    display: block;
    transform: none;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 500px;
    pointer-events: none;
    transform: translate(0, -50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
    pointer-events: auto;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    pointer-events: auto;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-body {
    position: relative;
    padding: 1.5rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    gap: 0.5rem;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.modal-backdrop.show {
    opacity: 0.5;
    pointer-events: auto;
}

.offcanvas {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 350px;
    background-color: #fff;
    z-index: 1050;
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.form-select {
    /* increase right padding so long text doesn't run under the arrow,
force a white background behind the text and arrow area */
    padding-right: 4rem;
    width: 100%;
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    /* make background explicitly white so text won't be visible under the SVG area */
    background-color: #ffffff;
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    /* place arrow closer to the right edge and keep it inside the padded area */
    background-position: right 1.1rem center;
    background-size: 28px 20px;
    background-clip: padding-box;
    position: relative;
}


/* existing reduced-motion and focus rules left unchanged */

@media (prefers-reduced-motion: reduce) {
    .form-select {
        transition: none;
    }
}

.form-select:focus {
    border-color: #e48385;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(201, 7, 10, 0.25);
}

.form-select:disabled {
    background-color: var(--bs-secondary-bg);
}


/* collapse trigger: keep the extra right padding and ensure the pseudo element
that draws the chevron has a white backdrop so text doesn't show through */

[data-bs-toggle="collapse"].form-select {
    position: relative;
    padding-right: 4rem;
    background-image: none;
}


/* pseudo-element with the same SVG used before, place a white backdrop and stack on top */

[data-bs-toggle="collapse"].form-select::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.1rem;
    width: 28px;
    height: 20px;
    background-color: #ffffff;
    /* white box behind the SVG */
    background-image: var(--bs-form-select-bg-img);
    background-repeat: no-repeat;
    background-size: 28px 20px;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.25s ease;
    pointer-events: none;
    display: inline-block;
    z-index: 2;
    border-radius: 4px;
}


/* rotate 180deg when active / expanded */

[data-bs-toggle="collapse"].form-select.active::after,
[data-bs-toggle="collapse"].form-select[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}


/* small accessibility / pointer hint */

[data-bs-toggle="collapse"].form-select {
    cursor: pointer;
}

/* Overwrite Bootstrap Table Styles */
table, .dataTable, .table {
    border-collapse: collapse !important;
    width: 100% !important;
    border: none !important; /* Remove outer border */
}

/* Remove default Bootstrap borders and backgrounds */

table.dataTable thead th, 
table.dataTable thead tr th, 
table.dataTable thead td,
.table thead th {
    border-bottom: 2px solid #000 !important; /* Header line */
    padding: 12px 0 !important;
    background: none !important;
    text-align: left;
}

/* Row Styling */
table.dataTable tbody tr,
.table tbody tr {
    background-color: transparent !important;
    border-bottom: 1px solid #333 !important; /* The thin lines between rows */
}

/* Cell Styling */
table.dataTable tbody td,
.table tbody td {
    padding: 15px 0 !important; /* Vertical spacing */
    border: none !important;
    font-size: 16px;
    color: #333;
    vertical-align: middle;
}

/* Remove the blue/gray hover effect from Bootstrap */
.table-hover tbody tr:hover {
    background-color: rgba(0,0,0,0.02) !important;
}

/* Specific alignment to match your screenshot */
/* Left column (Name) */
table td:first-child {
    text-align: left;
    font-weight: 500;
}

/* Right column (Years) */
table td:last-child,table tr th:last-child {
    text-align: right;
}

/* Custom styling for the search/filter inputs shown in image */
.dataTables_filter input, 
#tschertgar_in_num {
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    padding: 8px;
    margin-bottom: 10px;
}
.drg-card-text {
    color: var(--bricks-color-ueikee);
    font-weight: 700;
    margin-bottom: 12px
}

.drg-card-tex a {
    color: var(--bricks-color-ueikee);
    font-weight: 700;
    font-size: inherit
}

.drg-inner-card {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
    padding-left: 16px
}

.drg-card {
    border-top-right-radius: 60px;
}

.drg-card,
.card-light {
    background-color: white;
    box-shadow: 0 0 5px 2px #bdbdbd
}

.card-light {
    padding: 1.5rem;
}

#imageModal .modal-dialog {
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 2vh auto 0 auto;
    /* tiny gap on top, centered horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#imageModal .modal-content {
    background: transparent;
    border-radius: 1rem;
    box-shadow: none;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#imageModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 0;
    background: transparent;
}

#imageModalImg {
    max-width: 90vw;
    height: 95vh;
    object-fit: contain;
    background: #000;
    display: block;
    border-radius: 1rem;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
}

#imageModalClose {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 1051;
    opacity: 0.95;
    filter: invert(1);
    background: rgb(100, 100, 100);
    border-radius: 20px;
    padding: 0.5rem;
}

.imageModalArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1052;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.85;
    transition: background 0.2s;
}

.imageModalArrow:hover {
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

#imageModalPrev {
    left: 1rem;
}

#imageModalNext {
    right: 1rem;
}

@media (max-width: 767.98px) {
    #imageModalPrev {
        left: 0.5rem;
    }
    #imageModalNext {
        right: 0.51rem;
    }
}

#brx-content {
    width: 90%;
    margin: 0 auto;
    max-width: 1450px
}

#brxe-maincontent {
    flex-direction: row;
    padding-top: 50px;
    padding-bottom: 50px
}

.brxe-container {
    width: 90%;
    max-width: 1450px
}

@keyframes spin-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#brxe-wttgeh, #brxe-dycocj, .brx-popup-content, #brxe-eb26f8 .bricks-nav-menu .sub-menu {
    background-color: #01569F !important;
}

#brxe-yljmix {
    border-top: 5px solid #01569F !important;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-account:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .h-md-100 {
        height: 100% !important;
    }
}
