/* Filter Widget */
.filter-widget {
    background: rgba(0, 0, 0, .74);
    height: 100%;
    padding: 70px 35px 0;
    position: absolute;
    right: 70px;
    top: 0;
    width: 350px;
    z-index: 0;
}

.filter-widget h4 {
    color: #fff;
    font-family: 'Conv_Verb-Medium';
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    text-transform: uppercase;
}

/* TODO: This styles are repeated. */
.filter-widget .categories {
    display: none;
    margin: 30px -2px;
    text-align: center;
    visibility: hidden;
}

.filter-widget .categories .category-wrapper {
    display: inline-block;
    margin-left: -2px;
    margin-right: -2px;
    padding: 0 2px;
    width: 30%;
}

.filter-widget .categories .category {
    background: rgba(0, 0, 0, .54);
    border-bottom: 4px solid rgba(51, 51, 51, .31);
    border-top: 4px solid transparent;
    color: #fff;
    display: block;
    font-size: 14px;
    padding: 7px 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    -webkit-transition: background-color 350ms, border 350ms;
    -moz-transition: background-color 350ms, border 350ms;
    -ms-transition: background-color 350ms, border 350ms;
    -o-transition: background-color 350ms, border 350ms;
    transition: background-color 350ms, border 350ms;
}

.filter-widget .categories .category:hover {
    background: rgba(0, 0, 0, .93);
    border-bottom: 4px solid rgba(255, 255, 255, 1);
}

.filter-widget .control {
    margin-bottom: 20px;
    position: relative;
}

.filter-widget .index-0 { z-index: 0; }
.filter-widget .index-1 { z-index: 1; }
.filter-widget .index-2 { z-index: 2; }
.filter-widget .index-3 { z-index: 3; }
.filter-widget .index-4 { z-index: 4; }

.filter-widget .control:last-child {
    margin-bottom: 0;
}

.filter-widget button {
    background-color: #CB2449;
    border: none;
    border-radius: 3px;
    color: #fff;
    display: block;
    font-family: 'Conv_Verb-Regular-Bold';
    font-size: 14px;
    padding: 16px 5px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

@media (max-width: 1200px) {

    .filter-widget {
        right: 15px;
    }

}

@media (max-width: 920px) {

    .filter-widget {
        background: rgba(0, 0 ,0, .55);
        height: 100%;
        left: 0;
        right: auto;
        width: 100%;
    }

    .filter-widget .categories {
        display: block;
        visibility: visible;
    }

    .filter-widget .control {
        display: none;
        visibility: hidden;
    }

    .filter-widget .control.visible {
        display: block;
        visibility: visible;
    }

}

@media (max-width: 480px) {

    .filter-widget {
        padding: 35px 10px 5px;
    }

    .filter-widget h4 {
        font-weight: bold;
        margin: 0 auto;
        max-width: 80%;
    }

    .filter-widget .categories {
        margin: 15px -2px;
    }

    .filter-widget .categories .category-wrapper {
        width: 50%;
    }

}
