/* general */
:root {
    --default-page-width: 1000px;
    --default-footer-height: 2.5rem;

    --font-main: Poppins, sans-serif;

    --background-color-footer-rgb: 220, 220, 220;
    --background-color-basic-rgb: 240, 240, 240;
    --background-color-content-rgb: 253, 253, 252;
}

html,
body {
    font-family: var(--font-main) !important;
}

.main-container {
    /* width : var(--default-page-width); */
    width: 100%;
    margin: auto;

    background-color: rgb(var(--background-color-content-rgb));
    min-height: 100vh;
}

.base-background {
    background-color: rgb(var(--background-color-basic-rgb));
    min-height: 100vh;
}

/* needed for footer */
.body-container {
    padding-bottom: var(--default-footer-height) !important;
}


/* Black screen for changing orientation */
.black-screen {
    display: none;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    cursor: pointer;
}

.black-screen>div {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: x-large;
}

@media (orientation: portrait) {
    .black-screen {
        display: block !important;
    }
}

@media (orientation: landscape) {
    .black-screen {
        display: none !important;
    }
}



/* bootstrap layout */
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.col {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.col.col-without-padding,
.col-1.col-without-padding,
.col-2.col-without-padding,
.col-3.col-without-padding,
.col-4.col-without-padding,
.col-5.col-without-padding,
.col-6.col-without-padding,
.col-7.col-without-padding,
.col-8.col-without-padding,
.col-9.col-without-padding,
.col-10.col-without-padding,
.col-11.col-without-padding,
.col-12.col-without-padding {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

div.row {
    margin-left: 0;
    margin-right: 0;
    /* margin-bottom: .5rem; */
}


/* dbc carousel */
.carousel-caption {
    background-color: rgba(var(--bs-primary-rgb), 0.6);
    color: white !important;
}

/* header */
.header {
    padding-top: 1rem;
    height: 4rem;
    margin-bottom: 0.5rem;
}

.logo-img {
    height: 3rem;
}



/* footer */
.footer {
    height: auto;
    z-index: 5;
}

.footer-floating {
    position: fixed;
    bottom: 0;

    /* width: var(--default-page-width); */
    width: 100%;
    height: var(--default-footer-height);
    /* Set the fixed height of the footer here */
    line-height: var(--default-footer-height);
    /* Vertically center the text there */
    background-color: rgb(var(--background-color-footer-rgb));
}

.footer-link {
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: none;
    color: var(--bs-secondary);
}

.footer-link-margin-left {
    margin-left: 1rem;
    margin-right: auto;
}


/* navbar */
.NavBottom {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.25);

    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}

.NavRight {
    border-bottom: 1px solid rgba(var(--bs-primary-rgb), 0.25);
    padding-top: 0.5%;
    padding-bottom: 0.5%;
    margin-left: auto !important;
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: white;
}

.NavRight .navbar-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.NavRight a:hover {
    color: gray;
    /* Farbe für den Hover-Effekt */
    background-color: rgba(0, 0, 255, 0.1);
    /* Hintergrundfarbe beim Hovern */
}

/* Stil für das nicht-hoverte Navitem */
.no-hover {
    color: inherit !important;
    /* behält die Standardfarbe bei */
    background-color: transparent !important;
    /* behält den transparenten Hintergrund bei */
    margin-right: auto !important;
    /* schiebt es auf die linke Seite */
}

/* Container für die nachfolgenden Navitems */
.nav-item-container {
    display: flex;
    align-items: center;
}

/* Stil für die nachfolgenden Navitems */
.no-hover~.nav-item {
    margin-left: 10px !important;

    /* Fügt Abstand zwischen den Navitems hinzu */
}

/* Flexbox-Stil für die nachfolgenden Navitems */
.no-hover~.nav-item-container {
    margin-left: auto;

}

/* help buttons */
.btn-help {
    height: 1.5rem !important;
    width: 1.5rem !important;
    display: block !important;
    border-radius: 50% !important;

    color: white !important;
    padding: 0 !important;
}

.btn {
    border-color: transparent;
}

.btn:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.1);
}


/* Styles für die gestreifte dbc Table */
.table-striped>tr:nth-child(odd) {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
    /* Hintergrundfarbe für ungerade Zeilen */
}

/* Hover-Effekt für Zeilen */
.table-striped>tr:hover {
    background-color: rgba(var(--bs-secondary-rgb), 0.2);
    /* Hintergrundfarbe beim Hover */
}

.table-striped {
    border-color: red;
}


/* dcc multi dropdown (for simple dropdown use dbc) */
.Select,
.dash-dropdown {
    cursor: pointer;
}

.VirtualizedSelectFocusedOption {
    background-color: rgba(var(--bs-primary-rgb), 0.3);
}

.Select.is-focused>.Select-control {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.3) !important;
}

.Select--multi .Select-value {
    border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
    color: var(--bs-primary) !important;
    background-color: rgba(var(--bs-primary-rgb), 0.25) !important;
}

.Select--multi .Select-value:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

.Select--multi .Select-value-icon {
    color: var(--bs-primary) !important;
    border-color: rgba(var(--bs-primary-rgb), 0.4) !important;
}

.Select--multi .Select-value-icon:hover,
.Select-value-icon:focus,
.Select-value-icon:active {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
}

/* Slider */
.rc-slider-track {
    background-color: rgba(var(--bs-primary-rgb), 0.7);
}

.rc-slider-dot-active {
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.rc-slider-handle {
    border-color: rgba(var(--bs-primary-rgb), 0.5);
}

.rc-slider-handle:hover,
.rc-slider-handle:focus {
    border-color: rgba(var(--bs-primary-rgb), 0.8);
}

.rc-slider-handle:active,
.rc-slider-handle-active:active {
    border-color: rgba(var(--bs-primary-rgb), 0.7);
    box-shadow: 0 0 5px rgba(var(--bs-primary-rgb), 0.3);
}

.rc-slider-handle-dragging {
    border-color: rgba(var(--bs-primary-rgb), 0.7) !important;
    box-shadow: 0 0 0 5px rgba(var(--bs-primary-rgb), 0.5) !important;
}

.rc-slider-mark-text {
    color: #1e3258;
    font-size: 13px;
}


/* Dash data table */
.dash-spreadsheet-container .dash-spreadsheet-inner table {
    --accent: var(--bs-secondary) !important;
}

/* FIDA "L" snippets */
div.topleftsnippet {
    box-shadow: 3px 3px 0 3px var(--bs-primary),
        3px 10px 0 3px var(--bs-primary),
        3px 20px 0 3px var(--bs-primary),
        3px 30px 0 3px var(--bs-primary),
        3px 35px 0 3px var(--bs-primary),
        10px 3px 0 3px var(--bs-primary),
        17px 3px 0 3px var(--bs-primary);
    border-top-left-radius: 5px;
    background-color: var(--bs-primary);
    width: 10px;
    height: 10px;
    overflow: hidden;
    position: relative;
    left: -10px;
    z-index: 1;
}

div.bottomrightsnippet {
    box-shadow: 3px 3px 0 3px var(--bs-secondary),
        3px 10px 0 3px var(--bs-secondary),
        3px 20px 0 3px var(--bs-secondary),
        3px 30px 0 3px var(--bs-secondary),
        3px 35px 0 3px var(--bs-secondary),
        10px 3px 0 3px var(--bs-secondary),
        17px 3px 0 3px var(--bs-secondary);
    border-top-left-radius: 5px;
    background-color: var(--bs-secondary);
    width: 10px;
    height: 10px;
    overflow: hidden;
    position: relative;
    left: 100%;
    z-index: 1;
    transform: rotate(180deg);
}

.custom-font {
    font-family: 'Arial', sans-serif;
    color: #4e5156;
    font-weight: 600;
}

.custom-image {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    padding: 1.5rem;
}

@media (min-width: 48em) {
    .container {
        padding: 2.5rem;
    }
}

.container {
    background-color: white;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.25);
    border-radius: 1rem;
    position: relative;
}

@media (min-width: 80em) {
    .container {
        height: 450px;
        margin: 0 1.5rem;
    }
}

.container {
    height: 500px;
}

@media (min-width: 30em) {
    .container {
        height: auto;
        width: 600px;
    }
}




#lang-switch>.dropdown-toggle.nav-link::before {
    font: var(--fa-font-solid);
    content: "\f1ab";
    /* <i class="fa-solid fa-language"></i> */
    margin-right: 8px;
}

/* Schriftfarber der Steps */
.mantine-Stepper-stepBody {
    color: var(--bs-primary);

}


.mantine-UnstyledButton-root.mantine-Stepper-step.mantine-fud2mt {
    cursor: auto;
}


/* aktueller Step */
.mantine-Stepper-stepIcon[data-progress] {
    border-color: var(--bs-secondary);
}

/* .mantine-Stepper-stepIcon {
    border-color: var(--bs-primary);
} */

/* Linie zwischen den Steps  */
.mantine-Stepper-separatorActive {
    background-color: var(--bs-secondary);
}


.mantine-Stepper-stepCompletedIcon {
    color: white;
}

.mantine-13929wa[data-completed] {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.navigation-card {
    padding-bottom: 2rem;
}

.process-input {
    height: 100%;
}

.category-dd {
    margin-top: 1rem;
}

.alert {
    margin-top: 1rem;
}

h1,
h2,
h3,
h4 {
    /* color: #1e3258  */
    color: #004586
}

.slide {
    position: absolute;
    height: auto;
    width: 75%;
    background: #f7f7f7;
    border: 1px solid #ccc;
    display: flex;
    /* justify-content: center;
    align-items: center;
    backface-visibility: hidden; */
}

.carousel-caption {
    background-color: transparent;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

hr {
    border-color: #004586;
    background-color: #004586;
}

/* Responsive Design Success Story Cards */
@media (min-width: 476px) {
    .suc_story_card .card-img {
        /* max-width: 480px; */
        height: 300px;
    }
}

@media (min-width: 768px) {
    .suc_story_card .card-img {
        /* max-width: 980px; */
        height: 280px;
    }
}


@media (min-width: 992px) {
    .suc_story_card .card-img {
        /* max-width: 980px; */
        height: 220px;
    }
}


@media (min-width: 1200px) {
    .suc_story_card .card-img {
        /* max-width: 1280px; */
        height: 280px;
    }
}


@media (min-width: 1400px) {
    .suc_story_card .card-img {
        /* max-width: 1280px; */
        height: 300px;
    }

    .suc_story_card .card {
        margin-left: 25px;
        margin-right: 25px;
    }
}

@media (min-width: 1800px) {
    .suc_story_card .card-img {
        /* max-width: 1280px; */
        height: 340px;
    }

    .suc_story_card .card {
        margin-left: 5pc;
        margin-right: 5pc;
    }
}


.suc_story_card .card-text {
    font-size: 18px;
}

.suc_story_card .card-title {
    font-size: 22px;
}

/* .alert-success {
    background-color: rgba(var(--bs-secondary-rgb), 0.15);
    border-color: rgba(var(--bs-secondary-rgb), 0.15);
} */

/* .carousel-indicators {
    bottom: 5%;
} */

/* .card-img {
    width: 100%;
    height: auto;
} */