.faculty-section h2 {
    color: black;
    margin-bottom: 20px; 
    margin-top: 20px;
    border-bottom: 2px solid #c81e0f;
}

.subject-item {
    background-color: white;
    padding: 10px;
    margin: 5px 0;
}

.subject-btn {
    background-color: transparent;
    border: 1px solid Black;
    color: black;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    margin: 5px 0;
}

.subject-btn:hover {
    background-color: #f0f0f0;
}

.lecture-type-header {
    color: black;
    padding-bottom: 5px;
    margin-top: 20px;
}

.info-icon {
    display: inline-block;
    width: 25px;
    text-align: center;
    color: #b43092; 
    cursor: pointer;
}

.course-table {
    display: block;
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: transparent;
    overflow: hidden;
}

.course-table th,
.course-table td {
    padding: 10px;
    border: 1px solid Black;
    text-align: left;
}
.course-table td {
    vertical-align: middle;
    min-height: 40px;
}

.course-table td:nth-child(1) {
    word-wrap: break-word;
    width: 35%;
}

.course-table td:nth-child(2),
.course-table td:nth-child(3),
.course-table td:nth-child(5){
    white-space: nowrap;
    width: 1%;
}

.course-table td:nth-child(4) {
    word-wrap: break-word;
    width: 150px;
}

.course-table td:nth-child(6) {
    word-wrap: break-word;
    width: 300px;
}

.course-table th {
    background-color: #f0f0f0;
    font-weight: bold;
    color: Black;
}

.termin-btn {
    background-color: #b43092;
    color: white;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.termin-btn:hover {
    background-color: #9c287d;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; 

}

.flex-item {
    background-color: #f0f0f0;
    border: 1px solid black;
    padding: 5px;
    width: 125px;
    text-align: center;
}

.flex-item p {
    margin: 2px;
    color: black;
}

.vormerken-text {
    cursor: pointer;
}

.flex-item a {
    text-decoration: none;
    color: #ea5a00;
}

.flex-item a:hover {
    color: #d15000;
}

.locationlink {
    text-decoration: none;
}

.locationlink:hover {
    text-decoration: underline;
}

.institutlink {
    text-decoration: none;
    color: black;
}

.institutlink:hover {
    text-decoration: underline;
    color: black;
}

.collapsed .accordion-icon {
    background: url(/img/icons/tab-plus.svg) no-repeat;
}

.accordion-icon {
    background: url(/img/icons/tab-minus.svg) no-repeat;
    display: inline-block;
    height: 14px;
    margin-top: 0.3em;
    width: 14px;
}

.pfeil {
    width: 12px;
    height: 12px;
}

.handy_view{
    display: none;
}

#fak2{
    cursor: default;
}

@media (max-width: 1000px) {
    .course-table {
        display: none;
      }
    .handy_view {
        display: block;
    }
    h1 {
        font-size: 26px;
    }
    .faculty-section h2 {
        font-size: 24px;
    }  
    .subject-btn {
        font-size: 18px;
        padding: 9px;
    }
    .lecture-type-header {
        font-size: 16px;
        padding-bottom: 2px;
        margin-top: 8px;
    }  
    .info-icon {
        font-size: 18px;
    }

    .handy_view {
        background-color: white;
        padding: 12px;
        margin-top: 15px;
        border: 1px solid black;
        font-size: 16px;
        color: black;
    }

    .handy_course_row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 6px;
        padding: 4px 0;
        border-bottom: 1px solid black;
    }

    .handy_course_row strong {
        flex: 0 0 100px;
        font-weight: bold;
        color: #444;
    }

    .handy_course_value {
        flex: 1;
        text-align: left;
        color: #222;
        font-weight: normal;
        white-space: normal;       
        overflow: visible;         
        text-overflow: unset;      
        word-break: break-word;   
    }
    .termin-btn {
        font-size: 16px;
    }
    #fak2{
    cursor: default;
    }

}

