@charset "utf-8";
/* CSS Document */

table.studyprog {
    border: 1px solid white;
}
thead.studyprog tr {
    border: 1px solid #ccc;
}
th.studyprog {
    border-left: 1px solid white !important;
    font-size: 1.2rem;
    padding: 15px 12px;
    background: #00876C !important;
}
td.studyprog {
    font-size: 1.05rem;
}
tr.studyprog {
    border-bottom: 1px solid #B8B8B8 !important;
    background: white !important;
}
tbody tr.studyprog:hover {
    background-color: #e8e8e8 !important;
}
.underprint {
    font-size: 0.7rem;
    display: inline-block;
    line-height: 1rem !important;
    font-weight: 400;
}
.button-left {
    padding: 5px 10px;
    background: white;
    border: 1px solid #C8C8C8;
    border-radius: 4px 0px 0px 4px;
    cursor: pointer;
    font-size: 1.0rem;
}
.button-next {
    padding: 5px 10px;
    background: white;
    color: black;
    border: 1px solid #C8C8C8;
    border-radius: 0px 4px 4px 0px;
    cursor: pointer;
    font-size: 1.0rem;
}
.btn-dropdown {
    padding: 5px 40px 5px 7px;
    border: 1px solid #C8C8C8;
    border-radius: 5px;
    background: #ffffff;
    font-size: 1.0rem;
    color: #444;
    width: 120px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23444"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 20px;
}
span.page-btn {
    padding: 5px 10px;
    background: #ffffff;
    color: #000000;
    border: 1px solid #C8C8C8;
    border-radius: 0px;
    cursor: pointer;
    font-size: 1.0rem;
}

/* ++++++++++++++++++++++++++++++ */
/*             GRID-SYSTEM       */
/* ++++++++++++++++++++++++++++++ */
.grid-container {
    display: grid;
}
.grid-item {
    padding: 15px 20px;
    text-align: left;
}
/* 1. Zeile: 3 Spalten (jeweils 33%) */
.row-1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column: span 3;
}
/* 2. Zeile: 2 Spalten (jeweils 50%) */
.row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column: span 3;
    padding-bottom: 30px;
}
/* 3. Zeile: 1 Spalte (100%) */
.row-3 {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: span 3;
    background-color: #E8E8E8;
}
/* 3. Zeile: 1 Spalte (100%) */
.row-3-no-bg {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: span 3;
}
/* 4. Zeile: 2 Spalten (jeweils 50%) */
.row-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column: span 3;
    background-color: #F8F8F8;
    position: relative;
}
.row-4::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #D8D8D8;
    transform: translateX(-50%);
}
/* 5. Zeile: 4 Spalten (jeweils 25%) */
.row-5 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column: span 3;
    position: relative;
}
.row-5::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #D8D8D8;
    transform: translateX(-50%);
}
/* ++++++++++++++++++++++++++++++ */
/*        TEXT & LABELS           */
/* ++++++++++++++++++++++++++++++ */
div.grid-text-center {
    font-size: 1.2rem;
    font-weight: 400;
    color: #404040;
    font-family: "Roboto", sans-serif;
    text-align: center;
}
label.grid-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: #404040;
    font-family: "Roboto", sans-serif;
}

/* ++++++++++++++++++++++++++++++ */
/*        FILTER & BUTTONS       */
/* ++++++++++++++++++++++++++++++ */
.filter-container {
    margin-bottom: 20px;
}
/* Button für das Ein- und Ausblenden der Filter */
.filter-toggle {
    background: #00876C;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    display: inline-block;
}
.filter-toggle:hover, .filter-toggle:focus {
    background: #00876C;
    outline: none;
}
.filter-toggle:focus {
    box-shadow: 0 0 0 2px #B8B8B8;
}
/* Style für den Button, wenn aktiviert */
.filter-toggle.active {
    background: #F0F0F0;
    color: black;
}
/* Filter-Inhalte (werden ein- und ausgeblendet) */
#filterContent {
    display: none;
    margin-top: 20px;
    background: #F8F8F8;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    max-width: 80%;
    width: 900px;
}
.resetButton{
    background: #B8B8B8;
    color: black;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}
.row-right {
    text-align: right;
}
.row-center {
    text-align: center;
}

/* ++++++++++++++++++++++++++++++ */
/*     CUSTOM DROPDOWNS (neu)    */
/* ++++++++++++++++++++++++++++++ */
.custom-dropdown {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    position: relative;
    width: 150px;
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-button {
    width: 100%;
    padding: 6px 8px 6px 12px;
    border: 1px solid #C8C8C8;
    border-radius: 5px;
    background: #ffffff;
    font-size: 1.0rem;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.dropdown-button:focus {
    outline: 2px solid #00876C;
    outline-offset: 2px;
}

.selected-value {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 0.8rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #ffffff;
    border: 1px solid #C8C8C8;
    border-radius: 5px;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    font-size: 1.0rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.dropdown-content[aria-expanded="true"] {
    display: block;
}

.dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    display: block;
}

.dropdown-item:focus {
    background: #00876C;
    color: white;
}

.dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dropdown-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

#themenDropdown .fas {
    padding-right: 1.9rem;
}

#ncDropdown .fas {
    padding-right: 1.4rem;
}

#themenDropdown .fab {
    padding-right: 1.9rem;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}