:root {
    --ihtl-color: #354a8c;
    --ihtl-red: #cd2929;
    /* --bs-accordion-btn-padding-x: 0.5px;
            --bs-accordion-btn-padding-y: 0.5px; */
    /* --ihtl-color: #0d6efd; */
    --bs-popover-max-width: 375px;

}

.tagStyle {
    text-align: center;
    font-size: 0.75em;
    /* margin: 1px; */
    margin-left: 3px;
    margin-right: 3px;

    padding-left: 3px;
    padding-right: 3px;
    border: solid 1px #ccc;
    box-sizing: border-box;
}

.sim-title {
    font-size: 130%;
}

@media only screen and (max-width: 1000px) {

    #simChartContainer {
        max-width: 99%;
        min-width: 99%;
        min-height: 125vh;
    }

    body {
        zoom: 85%;
    }

    /* Spalten nicht neben- sondern untereinander! */
    .col {
        min-width: 90%;
    }

    .sim-title {
        font-size: 90% !important;
        /* font-weight: bold; */
    }

    .tagStyle {
        font-size: 0.67em;
    }
}

body {
    margin: auto;
    font-size: 1.05em;
    font-family: 'Calibri', Arial, sans-serif;

}

/* Content section styles */
.content {
    display: none;
    /* Hide all content sections initially */
}

.content.active {
    display: block;
    /* Show only the active content section */
}



.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--ihtl-red);
}


.input-group,
.input-group-sm {
    padding: 0.3em !important;
}

.btn-custom,
.btn-custom:hover {
    background-color: var(--ihtl-red);
    color: white;
}



.btn-orange,
.btn-orange:hover {
    background-color: orange;
    color: white;
}

#simChartContainer {
    height: 1000px;
    /* border: 1px solid rgba(128, 128, 128, .2); */
}

#errorMessage {
    color: var(--ihtl-red);
    /* font-weight: bold; */
    padding: 0.5em;
}

h1,
h2,
h3,
h4,
h5 {
    color: #111;
    font-weight: bold;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    color: var(--ihtl-color);

}

#content-header {
    color: var(--ihtl-color);
    font-size: small;
    margin: 0.3em;
}

.navbar-toggler {
    border: 0px;
}

.bg-light {
    background-color: white !important;
}

.popover {
    --bs-popover-font-size: 0.90em;
    --bs-popover-max-width: 375px;
    background-color: aliceblue;
}

.btn-light-x {
    --bs-btn-color: #000;
    --bs-btn-bg:#eef;
}

.btn,
.input-group-text {
    --bs-btn-font-size: 0.95rem;
}

.ihtl {
    color: var(--ihtl-color);
    font-weight: 500;
}

.ihtl-red {
    color: var(--ihtl-red);
}

.hor-table-separator {
    color: var(--ihtl-color);
    /* background-color: var(--bs-gray-100);
            border: 1px solid var(--bs-gray-100);
            border-radius: 10px;; */
    padding: 1em;
}

.blabla,
.res-table {
    max-width: 900px;
    width: 100%;
}

.blabla {
    padding-top: 1em;
    /* min-height: 100vh; */
}

button.accordion-button {
    padding: 0.75em;
    color: var(--ihtl-color);
    font-weight: 500;
}

.ihtl-sm {
    font-size: small;
}

.ihtl-w0 {
    width: 0 !important;
}

p.ihtl-red {
    margin: 0;
    padding: 0;
    font-weight: bold;
}

strong {
    color: var(--ihtl-color);
    font-weight: 500;
}

a {
    color: rgba(var(--ihtl-color), var(--ihtl-color));
    text-decoration: underline;
}

.highcharts-tooltip>span {
    background-color: white;
    opacity: 1;
}

.table {
    vertical-align: middle;
}

.table-secondary {
    --bs-table-color: var(--ihtl-color);
    --bs-table-bg: #fff;
    border-color: #ddd;


}

.no-records-found {
    border-style: none;
    border-spacing: 0px;

}

#result-table td {
    border: none !important;
}

td input[type="number"],
td input[type="text"],
td select {
    height: 1.3em;
    font-size: 0.90em;
    background-color: rgba(207, 226, 255, 0.2);
    border: 1px solid #ccc;
    padding: 1px;
}

/* cfe2ff */
td select {
    height: 1.45em;
}

.bi-info-circle::before {
    font-size: 0.7em;
    padding-left: 15px;
    /* click-fläche groß*/
    padding-right: 5px;
}



.table-sm>:not(caption)>*>* {
    padding: .1rem .1rem;
}

td input:disabled {
    background-color: #f0f0f0;
    border: 1px solid #cccccc;
    cursor: not-allowed;
    opacity: 0.8;
}

button.accordion-button {
    font-weight: 900;
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--ihtl-red);
    background-color: white;
}

p {
    margin-bottom: 0.6rem;
}

.compact-res-table td {
    padding: 0px;

}

.flex-grow-3 {
    flex-grow: 3;
}

#map {
    width: 100%;
    height: 500px;
}

code {
    color: var(--ihtl-red);
}

.table-minus {
    --bs-table-color: var(--ihtl-red);
    --bs-table-bg: white;
    /* --bs-table-border-color: #c6acae;
    --bs-table-striped-bg: #eccccf;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfc2c4;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5c7ca;
    --bs-table-hover-color: #000; */
    color: var(--ihtl-red);
    /* border-color: var(--bs-table-border-color); */
}

/* mjx-math,
        mjx-container {
            color: #000;
            font-size: 1.0em !important;
            font-family: "Latin Modern Math", serif;
        }

        /* Additional styling for display math (if using mjx-container and attribute selectors) */
/* mjx-container[jax="CHTML"][display="true"] {
            margin: 1em 0;
            text-align: center;
            font-size: 1em !important;
        } */


.MathJax,
mjx-container[jax="CHTML"][display="true"],
mjx-math,
mjx-inline,
mjx-display {
    font-size: 0.9em !important;
    font-weight: normal;
}
