
.category-overview .category-overview-title {
    font-size: 1.9em;
    line-height: 1.2em;
    color:#005b59;
    ;
}

@media (max-width:767px) {
    .category-overview .category-overview-title {
        align-items: safe;
        display: flex;
        justify-content: start;
        hyphens: auto;
    }
}


@media (min-width:768px) {
    .category-overview .category-overview-title {
        font-size: 3rem;
    }
}

/*@media (min-width:1200px) {
    .category-overview .category-overview-title {
        font-size: 38px;
    }
}

@media (min-width:1400px) {
    .category-overview .category-overview-title {
        font-size: 42px;
    }
}*/
/*@media (max-width:767px) {
    .category-overview .category-overview-title img{
        margin-left: -10px;
    }
}*/

.category-overview .category-overview-title img{
    margin-right: 8px;
    margin-bottom: 5px;
    height: 30px;
    width: 34px;
}

@media (min-width:768px) {
    .category-overview .category-overview-title img{
        margin-bottom: 14px;
        height: 40px;
        width: 40px;
    }
}

@media (min-width:992px) {
    .category-overview .category-overview-title img{
        height: 33px;
        width: 40px;
        margin-bottom: 12px;
    }
}

@media (min-width:1200px) {
    .category-overview .category-overview-title img{
        height: 35px;
        width: 47px;
    }
}

.category-overview .row-categories {
    display: flex;
    margin-top: 35px;
}

@media (max-width:767px) {
    .category-overview .row-categories{
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }

    .category-overview .row-categories .col{
        padding:25px 15px 15px 15px !important;
    }
}

.category-overview .row-categories .col{
    background-color: #005b59;
    display: flex;
    align-items: end;
    padding:25px 15px 30px 15px;
    margin-bottom: 26px;
    z-index: 1;
    position: relative;
}

@media (min-width:768px) {
    .category-overview .row-categories .col{
        margin-right: 13px;
        margin-left: 13px;
        padding:25px 15px 25px 15px;
    }
}

@media (min-width:992px) {
    .category-overview .row-categories .col{
        padding: 30px 20px;
        min-height: 300px;
    }
}

.category-overview .row-categories .col:after  {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #555;
    z-index: -1;
    opacity: 35%;
}

.category-link {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 1;
    left: 0;
    bottom: 0;
}

.category-overview .category .category-image{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    /*max-height: 300px;*/
    height: 100%;
    width:100%;
}

.category-overview .category .category-image img{
    height: 100%;
    width:100%;
    object-fit: cover;
}

.category-overview .row-categories .col .category .category-title{
    font-size:20px;
    color:#fff;
    text-decoration: none;
    z-index: 3;
    margin-bottom: 0;

}

@media (min-width:992px) {
    .category-overview .row-categories .col .category .category-title{
        min-height: 63px;
        font-size:22px;
    }
}

@media (max-width:991px) {
    .category-overview .row-categories .col .category .category-description{
        margin-top: 7px;
    }
}

@media (max-width:484px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a {
        padding: 9px 70px !important;
    }
}

@media (min-width:485px) and (max-width:767px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a {
        padding: 9px 100px !important;
    }
}


@media (min-width:992px) {
    .category-overview .row-categories .col .category .category-title{
        font-size:24px;
    }
}

@media (min-width:1400px) {
    .category-overview .row-categories .col .category .category-title{
        font-size:26px;
    }
}

.category-overview .row .col a{
    text-decoration: none;
    color: #fff;
    float: inline-start;
}

.category-overview .row-categories .col .category .category-description{
    color:#fff;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    z-index: 3;
    float: left;

}

@media (min-width:992px) {
    .category-overview .row-categories .col .category .category-description{
        font-size: 16px;
    }
}


@media (max-width:767px) {
    .category-overview .row-categories .col  {
        flex: inherit;
        max-height: 210px;
    }
}

.category-overview .row-categories .col  {
    width:100% !important;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

@media (min-width:768px) {
    .category-overview .row-categories .col  {
        width: calc(50% - 26px) !important;
        aspect-ratio: 1 / 1;
    }
}

@media (min-width:992px) {
    .category-overview .row-categories .col  {
        width: calc(33.33333333% - 26px) !important;
        aspect-ratio: 2 / 1;
    }
}
/*
.category-overview .row-categories .col .category .category-title:hover {
    text-decoration: underline;
}*/

.category-overview .row .col a:hover {
    text-decoration: underline  !important;
}

/*@media (max-width:991px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links {
        margin-left: auto;
        margin-right: auto;
    }
}*/


.frame-type-nebildungsportal_categoryoverview .category-overview .row-links {
    width: 97%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    margin-right: 10px !important;
    margin-left: 10px !important;
    position: absolute;
    left: 0;
}

@media (max-width:575px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links {
        width: 100% !important;
        padding-right: 45px;
        margin-left:23px !important;
    }
}

@media (min-width:576px) and (max-width:767px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links {
        max-width: 492px;
        width: 100%
    }
}


@media (min-width:768px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links {
        margin-top: 125px;
        width: 100%;
        position: relative;
    }
}
@media (max-width:991px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a {
        max-width: 516px;
    }
}

.frame-type-nebildungsportal_categoryoverview .category-overview .row-links a{
    width: 100%;
    text-decoration: none;
    background-color:#005b59;
    padding:9px 18px;
    color: #fff;
    font-weight: normal;
    font-size: 14px;
    text-transform: uppercase;
    font-family: "OpenSans Semibold" !important;
    text-align: center;
    letter-spacing: 0.9px;
}

/*@media (max-width:767px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a{
        width: fit-content;
        padding:12px 18px;
    }
}*/

@media (min-width:768px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a{
        width: fit-content;
        padding:12px 18px;
    }
}

@media (min-width:992px) {
    .frame-type-nebildungsportal_categoryoverview .category-overview .row-links a{
        padding:12px 21px;
        font-size: 16px;
    }
}