
.seo-subcategories {
    margin-bottom: 20px;
    margin: 15px -5px 25px;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-order: -1!important;
    order: -1!important
}

.seo-subcategories li {
    width: 20%;
    padding: 5px
}

@media only screen and (max-width: 1200px) {
    .seo-subcategories li {
        width:25%
    }
}

@media only screen and (max-width: 992px) {
    .seo-subcategories li {
        width:33.333%;
        padding-top: 5px;
        padding-bottom: 5px
    }
}

@media only screen and (max-width: 767px) {
    .seo-subcategories li {
        width:50%
    }
}

@media (max-width: 420px) {
    .seo-subcategories li {
        width:100%;
        padding-bottom: 3px;
        padding-top: 3px
    }
}

.seo-subcategories li a {
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    border: none;
    color: #000;
    font-size: 1em;
    padding: 8px 10px;
    height: auto;
    border-radius: 3px;
    border: 2px solid #eee;
    text-align: left;
    -ms-flex-align: center;
    align-items: center
}

@media only screen and (max-width: 480px) {
    .seo-subcategories li a {
        padding:3px 5px
    }
}

.seo-subcategories li a .image {
    width: 60px;
    max-width: 140px;
    height: 60px;
    min-width: 60px;
    border-radius: 5px;
    overflow: hidden;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-bottom: 0
}

@media only screen and (max-width: 480px) {
    .seo-subcategories li a .image {
        width:45px;
        height: 45px;
        min-width: 45px
    }
}

.seo-subcategories li a .image img {
    max-width: 100%;
    height: auto;
    max-height: 100px
}
.seo-subcategories li a{
    text-decoration: none;
}

.seo-subcategories li a .text {
    font-weight: 700;
    width: 100%;
    padding-left: 15px;
    -ms-flex-positive: 0;
    flex-grow: 0;
    text-align: left;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1em;
    margin-top: 0;
    line-height: 1.1em;
    margin-bottom: 0;
}

@media only screen and (max-width: 480px) {
    .seo-subcategories li a .text {
        padding-left:7px
    }
}

.seo-subcategories li a:hover {
    border-color: #319295
}

.seo-subcategories li a:hover .text {
    text-decoration: underline;
    color: #000
}

.seo-subcategories li a:hover:after {
    display: none
}

.seo-subcategories li a:before {
    display: none
}

.seo-subcategories .post-image{
    display: none;
}