
.style-selector img {
    width: 100%;
}

figure.style-selector {
    width: 100%;
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    text-align: center;
    cursor: pointer;
    padding: 5px;
}

figure.style-selector * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

figure.style-selector:after {
    background: #000000;
    width: 0;
    height: 6px;
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

figure.style-selector figcaption {
    bottom: -10px;
    left: 0;
    width: 100%;
}

figure.style-selector.red span {
    color: black !important;
    font-weight: 200 !important;
}

figure.style-selector h2, figure.style-selector span {
    margin: 0;
    width: 100%;
}

figure.style-selector h2 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 25px;
}

figure.style-selector a {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}

figure.style-selector.blue:after {
    background-color: #2980b9;
}

figure.style-selector.blue span {
    color: #409ad5;
}

figure.style-selector.red:after {
    background-color: #C89D28;
}

figure.style-selector.red span {
    color: #C89D28;
}

figure.style-selector.yellow:after {
    background-color: #f39c12;
}

figure.style-selector.yellow span {
    color: #f5b043;
}

figure.style-selector.green:after {
    background-color: #27ae60;
}

figure.style-selector.green span {
    color: #36d278;
}

@supports not (-webkit-overflow-scrolling: touch) {

    figure.style-selector:hover:after, figure.style-selector.hover:after {
        width: 100%;
    }
}

figure.style-selector .active, figure.style-selector.active {
    border: #C89D28 solid 2px;
    color: #C89D28 !important;
}

figure.style-selector.active:after, figure.style-selector.active:after {
    width: 100%;
}

