.in-fotogalerie .blog-wrapper .image+.text {
    background: none;
}

.in-fotogalerie .blog-wrapper .image+.text:hover {
    background: none;
}

.in-fotogalerie .blog-wrapper .news-item .text {
    position: static;
    color: #000000;
    min-height: fit-content;
    padding: 20px;
}

.in-fotogalerie .blog-wrapper .image+.text .title {
    color: #000000;
}

.in-fotogalerie .blog-wrapper .news-item .image {
    max-height: 350px;
    height: 100%;
    width: 100%;
    display: flex;
}

.in-fotogalerie .blog-wrapper .news-item>a {
    border: 1px solid #dadada;
    border-radius: 8px;
    background-color: #f6f6f6;
}

.in-fotogalerie .blog-wrapper .news-item {
    padding: 30px 15px 0;
    transition: 0.3s;
}

.in-fotogalerie .news-item .text .title {
    font-size: 28px;
    line-height: 36px;
}

.in-fotogalerie.type-post main#content .plus-gallery-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
    margin: 0px;
    width: calc(100% / 5 - (20px * 4 / 5));
    transition: 0.3s;
}

.in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item,
.in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item img {
    border-radius: 8px;
}

.in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item img {
    max-width: 100%;
    width: 100% !important;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 1439px) and (min-width: 1200px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
        width: calc(100% / 4 - (20px * 3 / 4));
    }

    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 250px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
        width: calc(100% / 3 - (20px * 2 / 3));
    }

    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 300px;
    }
}

@media (max-width: 991px) and (min-width: 480px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
        width: calc(100% / 2 - 5px);
    }

    .in-fotogalerie.type-post main#content .plus-gallery-wrap {
        gap: 10px;
    }

    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 210px;
    }

    .in-fotogalerie .blog-wrapper .news-item .text {
        padding: 12px 20px;
    }

    .in-fotogalerie .news-item .text .title {
        font-size: 24px;
        line-height: 32px;
    }
}

@media (max-width: 767px) {
    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 350px;
        margin-right: 0px;
    }

    .blog-wrapper .news-item .image img {
        object-fit: cover;
    }

    .in-fotogalerie .blog-wrapper .news-item>a {
        height: fit-content;
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 479px) {
    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 270px;
        margin-bottom: 0px;
    }

    .in-fotogalerie .news-item .text .title {
        margin: 0px;
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 360px) {
    .in-fotogalerie .blog-wrapper .news-item .image {
        max-height: 200px;
    }

    .in-fotogalerie .blog-wrapper .news-item {
        padding: 25px 15px 0;
        margin-bottom: 0px;
    }
}

@media (max-width: 560px) and (min-width: 480px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item img {
        height: 160px;
    }
}

@media (max-width: 479px) and (min-width: 430px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
        width: calc(100% / 2 - 5px);
    }

    .in-fotogalerie.type-post main#content .plus-gallery-wrap {
        gap: 10px;
    }

    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item img {
        height: 120px;
    }
}

@media (max-width: 429px) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item {
        min-width: 100%;
    }

    .in-fotogalerie.type-post main#content .plus-gallery-wrap {
        gap: 10px;
    }

    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item img {
        height: 240px;
    }
}

@media (min-width: 768px) {
    .in-fotogalerie.type-post main#content {
        max-width: 100%;
    }
}

@media(hover: hover) {
    .in-fotogalerie.type-post main#content .plus-gallery-wrap .plus-gallery-item:hover {
        scale: 1.03;
        transition: 0.3s;
    }

    .in-fotogalerie .blog-wrapper .news-item:hover {
        scale: 1.02;
        transition: 0.3s;
    }
}

subcategories.with-image {
    display: flex;
    align-items: stretch;
    margin-left: -10px;
    margin-right: -10px;
}

.subcategories.with-image li a .image {
    width: 100%;
    display: block;
    padding-right: 0px;
    max-width: 150px;
    object-fit: contain;
    margin: auto;
    margin-bottom: 10px;
}

.subcategories.with-image li a {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 100%;
    height: unset;
    justify-content: center;
    border: 1px solid #035928;
    padding: 10px;
    overflow: unset;
    position: unset;
    align-items: stretch;
}

.subcategories.with-image li:hover a {
    border-color: #000;
}


.subcategories.with-image li {
    padding: 10px;
    display: flex;
    position: relative;
    align-items: stretch;
}

.subcategories.with-image li a .text {
    max-width: unset;
    text-align: center;
}

.subcategories li a:before {
    content: none;
}

.subcategories.with-image li a .image,
.subcategories.with-image li a .text {
    width: unset;
    max-width: 100%;
    display: block;
}

.subcategories.with-image li a .image {
    max-width: 150px !important;
}

.subcategories.with-image li a .image img {
    max-height: 65px;
}

ul.subcategories.with-image li .text {
    padding-left: 0px;
}

@media(max-width: 767px) {
    ul.subcategories.with-image>.col-xs-12 {
        width: 50% !important;
    }

    ul.subcategories.with-image li .text {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        height: 36px !important;
        line-height: 18px !important;
    }
}

@media (min-width: 768px) {
    .navigation-in>ul>li.ext>ul>li>div>ul>li {
        display: block;
        padding: 2px 0;
    }

    /* .navigation-in>ul>li.ext>ul>li>a img {
        max-height: 135px;
        max-width: 135px;
    } */
}

@media(max-width: 479px) {
    .subcategories.with-image li a {
        padding: 10px 5px !important;
    }

    ul.subcategories.with-image li .text {
        height: 32px !important;
        font-size: 12px !important;
        line-height: 16px !important;
    }
}

ul.subcategories.with-image li a {
    position: relative;
    display: block;
    overflow: hidden;
}

ul.subcategories.with-image li a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 5%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

ul.subcategories.with-image li a:hover::after {
    opacity: 1;
}

.subcategories li a:hover {
    background-color: unset;
}

/* @media (max-width: 767px) {
    .navigation-in .exp {
        background-color: #36735475;
    }
} */