.category-container {
    max-height: 300px; /* Optional: Begrenze die Höhe des Containers */
}

.category-container {
    display: flex;
    flex-wrap: wrap;
}

.category-column {
    flex: 1;
    min-width: 150px; /* Mindestbreite für die Spalten */
    box-sizing: border-box;
    padding: 5px;
}

.category-item {
    padding: 5px;
}
#categorylist .card,
#categorylist .card a{
    height:100%;
}
#categorylist .card-body{
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}
#categorylist .card-body .card-icon{
    width: 72px;
}
#categorylist .card-body h2{
    width:calc(100% - 57px);
    hyphens:auto;
    text-wrap:balance;
}

/* #filtersearchbar button{
    background:transparent;
    border:0px;
    color:#fff;
} */

.keywordSelect{
    width: 100%;
}
.keywordsearchbar.container{
    max-width:1180px;
    width: 90%;
}
#keywordsearchForm{
    display:flex;
}
.keywordsearch{
    flex-grow:1;
}

#keywordModal li a{
    font-size:20px;
    position: relative;
}

#keywordModal li a:before{
    content:url(../../../../../assets/img/pfeil-peach-rechts.svg);
    position: absolute;
    transform: scale(0.8);
    left: -20px;
    opacity:0;
    transition: opacity 0.3s;
}
#keywordModal li a:hover:before{
    opacity:1;
}

#infoHubFilterBar .nav-link{
    opacity: 0.5;
    font-weight:500;
}
#infoHubFilterBar .nav-link:hover,
#infoHubFilterBar .nav-link.active{
    opacity: 1;
    font-weight:700;
}

#dropArea, #dropAreaEdit {
    border: 2px dashed #ccc;
    border-radius: 30px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    background: #EFF0F0;
    transition: background-color 0.3s ease;
    color:#AEB2B2;
}

#dropArea.dragover, #dropAreaEdit.dragover {
    background-color: #fff;
}
#removeFileButton, #removeFileButtonEdit {
    display: none;
    cursor: pointer;
}
#filenNameHolder, #filenNameHolderEdit {
    font-size: 18px;
    font-weight:bold;
    color:#44747c;
}


.page-download-section .card-body h5{
    color:#242D2D;
}

#downloadContent{
    margin-bottom:200px;
}


.grid-container-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    max-width: 100%; /* Passt sich an den Platz an */
}
.grid-container-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    max-width: 100%; /* Passt sich an den Platz an */
}
.grid-container-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    max-width: 100%; /* Passt sich an den Platz an */
}

.accordion-body .filter-selector label{
    padding: 6px 17px 1px;
    margin-bottom:13px;
    font-size:15px;
    font-weight:600;
}
.accordion-body .filter-selector label:has(input:checked){
    background-color:rgba(174, 178, 178, 0.15);
    border:1px solid rgba(174, 178, 178, 0);
    padding-left: 30px;
}
.accordion-body .filter-selector label input[type=checkbox]:before{
    margin-left: -16px;
}

.user-listing{
    background-color: #EEEEEC;
    border-radius: 10px;
    padding:40px;
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}
.user-listing > div:first-child{
    max-width:calc(100% - 350px);
}
.user-image{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-right:90px;
    object-fit: cover;
}

#filterModalLabel{
    font-size: 28px;
}

#filterModal .modal-header{
    border-bottom:0px;
    padding:80px 40px 30px 40px;
}
#filterModal .modal-body{
    padding:20px;
}
#filterModal .btn-close{
    position: absolute;
    right: 25px;
    top: 25px;
    padding: 0px;
    background-color: #44747c;
    color: #fff;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    border: 2px solid #44747c;
}

@media(max-width: 768px){
    .keywordsearchbar.container{
        width: 100%;
        padding:0px;
    }
    #downloadContent{
        margin-bottom:130px;
    }
    .user-listing > div:first-child{
        max-width:100%;
    }
    .user-listing{
        flex-wrap: wrap;
        padding:30px 30px 40px 30px;
    }
}
@media(max-width: 550px){
    
    .user-listing > div:first-child{
        flex-direction: column;
    }
    .user-listing > div:first-child > div:first-child{
        margin-bottom: 20px;
    }
}


.timeline-wrapper{
    position: relative;
}
#timeline-scroll-controller {
    position:sticky;
    top:119px;
    z-index:10;
    background:#fff;
    margin-bottom:60px;
    display:flex;
    align-items:center;
    gap:10px;
    padding:50px 0 30px;
}
.timeline-years{
    display:flex;
    justify-content:space-between;
    width:100%;
    position:absolute;
    left:0;
    top:10px;
    pointer-events:none;
    color:#999
}
.timeline-year-item{
    position: absolute;
    min-width: 40px;
    text-align: center;
    transform: translateX(-50%);
}
.timeline-year-item:nth-child(1){
    transform: translateX(0%);
}
.timeline-year-item:nth-child(2){
    transform: translateX(-35%);
}
.timeline-year-item:nth-child(3){
    transform: translateX(-50%);
}
.timeline-year-item:nth-child(4){
    transform: translateX(-75%);
}
.timeline-year-item:nth-child(5){
    transform: translateX(-100%);
}
#timeline-scroller{
    background-color:#eff0f0;
    height:34px;
    border-radius:17px;
    width:100%;
    display:flex;
}
.timeline-scroller-marker-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 7px;
}
.timeline-scroller-marker {
    border-radius:50%;
    background-color:#999999;
    width:6px;
    height:6px;
}
.timeline-scroller-marker:nth-child(odd) {
    width:18px;
    height:18px;
}
.timeline-scroller-knob{
    background-color:#f9bd98;
    border-radius:50%;
    width:34px;
    height:34px;
    position:absolute;
    left:0%;
    cursor:grab;
}
.timeline-scroller-knob::before{
    content: url(/assets/img/chevron-peach.svg);
    position: absolute;
    left: -15px;
    top: -3px;
    transform: scale(1.3) rotate(180deg);
}
.timeline-scroller-knob::after{
    content: url(/assets/img/chevron-peach.svg);
    position: absolute;
    right: -15px;
    top: 5px;
    transform: scale(1.3);
}
.timeline-knob-year{
    position: absolute;
    height: 40px;
    top: -46px;
    left: -18px;
    background-color: #62a880;
    color: #fff;
    padding: 4px 14px 0px 14px;
    border-radius: 23px;
    display: flex;
    align-items: center;
}

.timeline-scroller-knob:active {
    cursor:grabbing;
}

.timeline-item{
    display: flex;
    flex-direction: row;
    gap:50px;
}
.timeline-item > div{
    width: calc(50% - 114px);
    padding-bottom: 100px;
}

.timeline-item > div img{
    max-height: 370px;
    height: auto;
    object-fit: cover;
    object-position: top;
    max-width: inherit;
    width: 100%;
}

.timeline-item > .time-col{
    width: 134px;
    text-align: left;
    padding-bottom:0px;
}
.timeline-item > .time-col > div{
    border-left: 2px solid #62a880;
    height: 100%;
}
.timeline-item > .time-col h3{
    font-size: 25px;
    color: #fff;
    background-color: #62a880;
    border-radius: 0 30px 30px 0;
    padding: 10px 20px 4px 20px;
    display: inline-block;
    font-weight:500;
}
.timeline-content{
    display:flex;
    flex-direction:column;
    gap:0px;
}

@media(max-width:980px){
    #timeline-scroll-controller{
        top: 70px;
    }
    .timeline-item > div img{
        max-height: 370px;
        object-fit: cover;
        object-position: top;
        max-width: inherit;
        width: 100%;
    }
    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 0px;
    }
    .timeline-item > .time-col > div{
        border-left: none;
        height: auto;
    }
    .timeline-item > div{
        width: 100%;
        order:1;
        border-left:2px solid #62a880;
        padding-bottom:0px;
    }
    .timeline-item > .time-col{
        padding-bottom:20px;
    }
    .timeline-item > div:first-child{
        order:2;
        padding-left: 58px;
        padding-right: 58px;
    }
    .timeline-item > div:last-child{
        order:3;
        padding-left: 58px;
        padding-right: 58px;
        padding-bottom:50px;
    }
}