.seo-subcategories {
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -6px 36px -6px;
    padding: 26px 0;
    position: relative;
}

.seo-subcategories li {
    list-style: none;
    flex: 0 0 auto;
    padding: 6px;
}

.seo-subcategories.with-image li a {
    display: flex;
    align-items: center;
}

.seo-subcategories.with-image li a .image {
    text-align: center;
}

.seo-subcategories.with-image li a .text {
    padding-left: 5px;
    flex-grow: 0;
    text-align: left;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.seo-subcategories li a {
    box-shadow: none;
    position: relative;
    display: flex;
    align-items: center;
    height: 88px;
    padding: 12px;
    font-weight: 500;
    color: #24242E;
    border: 1px solid #e4e4e4;
    text-decoration: none !important;
}

.seo-subcategories li a:hover {
    border-color: #5A8440 !important;
}

/* zde se mění barva po najetí myší */
@media (min-width: 768px) {
    .seo-subcategories li a {
        height: 70px !important;
    }

    .seo-subcategories.with-image li a .image {
        width: 55px !important;
        height: auto;
        min-width: auto;
    }

    .seo-subcategories.with-image li a .text {
        width: auto !important;
    }
}

@media (max-width: 768px) {
    .seo-subcategories.with-image li a .image {
        width: 30% !important;
    }

    .seo-subcategories li {
        padding: 4px;
    }

    .seo-subcategories li a {
        height: 73px;
    }
}

.seo-subcategories li a .text {
    max-height: 62px;
    overflow: hidden;
    line-height: 20px;
    font-size: 14px;
    font-weight: bold;
}

.type-category .seo-subcategories li a .text {
    font-size: 11.9px;
    line-height: 1.3em;
    font-weight: 500 !important;
}


.seo-subcategories li a {
    display: flex;
    align-items: center;
    padding-left: 7px;
    background: #fff;
    border: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 0px;
    color: #000;
    font-size: 1em;
    padding: 5px;
    height: 68px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    flex-direction: row;
}

.seo-subcategories.with-image li a .image img {
    max-height: 30px !important;
    width: auto;
    min-width: auto;
    min-height: auto;
}

.seo-subcategories li a:before {
  top: 50%;
}