: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) {

    #real-yield-chart {
        max-width: 99%;
        min-width: 99%;
        min-height: 110vh;
    }

    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);
}



.btn-custom,
.btn-custom:hover {
    background-color: var(--ihtl-red);
    color: white;
}





#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 {
    --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;
}


/* 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;
}

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: 450px; */

}

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;
}

body {
    font-family: Arial, sans-serif;
    /* margin: 0; */
    /* padding: 20px; */
    background-color: #fff;
    color: #333;
    /* display: flex;
    justify-content: center;
    align-items: flex-start; */
    min-height: 100vh;
    margin: 0;
    padding: 2px;
    display: flex;
    justify-content: center;
    /* centers horizontally */
}

.btn-xs {
    font-size: 0.6rem;
    padding: 0.2rem 0.4rem;
    line-height: 1;
}

.container-fluid {
    /* height: auto; */
    /* max-width: 1100px; */
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    color: #0056b3;
    margin-bottom: 0;
}

.hr {
    border-top: 1px solid rgba(0, 86, 179, 0.45);
    min-width: 100%;
    margin-top: 3px;
}


.bg-success {
    background-color: #e9f5ff !important;
    padding: 0px;

}

.input-group {

    /* display: flex;
    flex-direction:row; */
    /* gap: 10px; */
    /* padding: 15px; */

    /* border-radius: 10px; */
    /* box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05); */
    /* display: flex; */
    /* justify-content: left; */
    /* text-align: left; */
    /* justify-content: flex-start; */
    /* width: 50px; */
    /* padding:0px !important;
    margin:0px !important; */
    gap: 0px !important;

}

label {
    font-weight: bold;
    color: #0056b3;
    font-size: 0.90rem;
    padding-left: 0.3rem;
}

.input-group select,
.input-group input[type="number"],
.input-group input[type="range"],
.input-group input[type="chekbox"],
.input-group input[type="text"],
.input-group input[type="date"],
.input-group input[type="time"],
.input-group input[type="datetime-local"] {

    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;

    border: 1px solid #ccc;
    /* border-radius:10px; */
    font-size: 0.9rem;
    background-color: #fff;

    /* border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important; */

    width: calc(100% - 22px);
}

.input-group-text {
    border: 1px solid #ccc;
}

input[type="checkbox"] {
    width: 1.0rem;
    height: 1.1rem;
}

.map-outer-wrapper {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    /* height: 100%; */
    width: 100%;
    /* Always fills parent */
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    position: relative;
    z-index: 1;
}


.map-container {
    width: 100%;
    min-width: 300px;
    min-height: 300px;
    /* height: 100%; */
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}



.map-view {
    width: 99%;
    height: 99%;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

ul li {
    margin-bottom: 0.75rem;
    /* Beispielwert */
}

ol li {
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    /* Beispielwert */
}

.MathJax,
mjx-container[jax="CHTML"][display="true"],
mjx-math,
mjx-inline,
mjx-display {
    font-size: 0.9em !important;
    font-weight: normal;
}

#threeCanvas {
    width: 100%;
    /* height: 100%; */
    min-width: 380px;
    max-width: 380px;

    /* min-height: 450px; */
    /* height: 450px; */
    /* display: block; */


}

#dailyChart,
#yearlyChart {
    width: 100%;
    /* border: 1px solid #888;
    padding: 10px;
    margin-top: 20px; */
    min-width: 350px;
    min-height: 350px;
}