#functions-section {
    background-color: #f0f4f8;
    padding-bottom: 150px !important;
}

.functions-nav {
    display: flex !important;
    flex-direction: row;
    margin: 20px auto;
    padding: 0;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;

}

.functions-content {
    display: flex !important;
    flex-direction: column;
    margin: 20px auto;
    padding: 0;
    justify-content: center;
    list-style: none;
    gap: 18px
}
#headline-functions {

}
.title-00::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #023e84;
    mask: url('/wp-content/plugins/meinverein-custom-blocks/functions/all.svg') no-repeat center;
    mask-size: contain;
    -webkit-mask: url('/wp-content/plugins/meinverein-custom-blocks/functions/all.svg') no-repeat center;
    -webkit-mask-size: contain;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.title-00:hover::before {

    background-color: #fff;

}

.functions-nav li a {
    border-radius: 23px;
    background-color: #fff;
    text-decoration: none;
    color: #023e84;
    letter-spacing: 0.28px;
    font-size: 14px;
    margin-right: 10px;
    padding: 12px 26px;
    box-shadow: 0 22px 36px 0 rgba(217, 225, 234, 0.41);
    white-space: nowrap;
    margin-bottom: 10px;
}

@media(max-width: 768px) {
    .functions-nav li a {
        padding: 10px 16px;
        font-size: 12px;
    }
}

.functions-nav li a.titlecontainer {
    display: flex;
    align-items: center;
}

.functions-nav li a:hover,
.functions-nav li a.active {

    background-color: #023e84;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.functions-nav li a.active::before {
    background-color: #fff;
}

.functionssearch {
    box-sizing: border-box;
    padding: 16px 31px;
    border-radius: 10px;
    width: 100%;
    background-color: #fff;
    border: none;
    box-shadow: 0 22px 36px 0 rgba(217, 225, 234, 1) !important;


}

.functionssearch::placeholder {
    color: #023e84 !important;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Cairo';
    opacity: 0.6;
}

.search-icon {
    position: absolute;
    right: 30px;
    top: 40%
}

.single-functions-container {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;

    cursor: pointer;
    box-shadow: 0 18px 30px 0 rgba(217, 225, 234, 1);
}

.single-functions-container::after {
    content: '';
    display: inline-block;
    width: 16.3px;
    height: 10.1px;
    background-image: url('/wp-content/plugins/meinverein-custom-blocks/functions/arrow.svg');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
  top:60px;
    right: 30px;
    transition: all 0.3s ease;
}

.single-functions-container.open::after {
    transform: rotate(180deg);
    transition: all 0.4s ease;
}

.headerbadge {
    font-family: Cairo !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.8px;
}
.badge-functions {
    line-height: 1.33;
    letter-spacing: 1.6px;
    font-size: 11px !important;
    font-family: Cairo;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 0px 3px;
    position: relative;
    top: -10px
}

.subline-content {
    display: block;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: all .2s ease-in;
    padding-right: 10%;
}

.subline-content.open {
    display: block;
    height: auto;
    max-height: 300px;
    overflow: hidden;
    transition: all .4s ease-in;
}

/* animation stuff */
.functions-container {

    overflow: hidden;
    position: relative;

    transition: max-height 0.2s ease-out;
}

.functions-container.open {
    max-height: 100vh !important;

    position: relative;
    transition: all 0.2s ease-out;
}

.functions-expander {
    background-image: linear-gradient(to bottom, rgba(240, 244, 248, 0), #f0f4f8);
    height: 120px;

    bottom: 100px;
    width: 100%;
    position: relative;
    z-index: 10;

}


.functions-expander.open {
    bottom: 10px;
    background-image: linear-gradient(to bottom, rgba(240, 244, 248, 0), #f0f4f8);
    max-height: 10px
}


.functions-expander a {
    margin-top: 100px;
    text-decoration: underline;

}

#show-more-functions {}