.c-categories.c-categories-template-8 .widget-header + .widget-content {
    margin-top: 25px;
}
.c-categories.c-categories-template-8 .widget-content {
    font-size: 0;
    text-align: left;
    margin: -2px;
}
.c-categories.c-categories-template-8 .widget-element-wrap {
    position: relative;
    display: block;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 25%;
    float: left;
    padding: 2px;
}
.c-categories.c-categories-template-8 .widget-element-wrap.big-item {
    width: 50%;
}
.c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3 {
    width: 33.333333%
}
.c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3.big-item {
    width: 66.666666%
}
.c-categories.c-categories-template-8 .widget-element {
    display: block;
    padding-top: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}
.c-categories.c-categories-template-8 .widget-element-sticker-wrap {
     position: absolute;
     top: 0;
     bottom: 0;
     left: 0;
     right: 0;
}
.c-categories.c-categories-template-8 .widget-element-sticker {
    display: inline-block;
    padding: 5px;
    overflow: hidden;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 7px 14px 7px 14px;
    margin: 20px;
    height: auto;
    width: auto;
    line-height: 1;
}
.c-categories.c-categories-template-8 .widget-element:hover {
    -webkit-box-shadow: 2px 6px 20px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 2px 6px 20px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 6px 20px 4px rgba(0, 0, 0, 0.3);
}
.c-categories.c-categories-template-8 .widget-element-picture {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
}
.c-categories.c-categories-template-8 .widget-element:hover .widget-element-picture.zoom {
    transform: scale(1.1);
}
.c-categories.c-categories-template-8 .widget-element-name-wrap {
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.c-categories.c-categories-template-8 .widget-element-name {
    display: inline-block;
    max-width: 90%;
    max-height: 90%;
    margin: 15px;
    padding: 6px 11px;
    font-size: 16px;
    color: #2a2c2f;
    background-color: #fff;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    vertical-align: bottom;
}
.c-categories.c-categories-template-8 .widget-element:hover .widget-element-name {
    color: #fff;
}
.c-categories.c-categories-template-8 .widget-element .widget-element-fade {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
}
.c-categories.c-categories-template-8 .widget-element:hover .widget-element-fade {
    background: rgba(0,0,0,0.5);
}

.c-categories.c-categories-template-8 .widget-footer {
    margin-top: 25px;
}
.c-categories.c-categories-template-8 .widget-footer-all {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    padding: 15px;
    border: 2px solid;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -ms-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
.c-categories.c-categories-template-8 .widget-footer-all:hover {
    color: #FFF;
}

@media all and (max-width: 900px) {
    .c-categories.c-categories-template-8 .widget-element-wrap,
    .c-categories.c-categories-template-8 .widget-element-wrap.big-item {
        width: 33.333333%;
    }
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3,
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3.big-item {
        width: 33.333333%;
    }
}
@media all and (max-width: 768px) {
    .c-categories.c-categories-template-8 .widget-element-wrap,
    .c-categories.c-categories-template-8 .widget-element-wrap.big-item {
        width: 50%;
    }
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3,
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3.big-item {
        width: 50%;
    }
    .c-categories.c-categories-template-8 .widget-content {
        margin: -5px;
    }
    .c-categories.c-categories-template-8 .widget-element-wrap {
        padding: 5px;
    }
    .c-categories.c-categories-template-8 .widget-element-name {
        font-weight: 700;
        font-size: 18px;
    }
}
@media all and (max-width: 500px) {
    .c-categories.c-categories-template-8 .widget-element-wrap,
    .c-categories.c-categories-template-8 .widget-element-wrap.big-item {
        width: 100%;
    }
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3,
    .c-categories.c-categories-template-8 .widget-element-wrap.grid-item-3.big-item {
        width: 100%;
    }
    .c-categories.c-categories-template-8 .widget-content {
        margin: -10px;
    }
    .c-categories.c-categories-template-8 .widget-element-wrap {
        padding: 10px;
    }
}