.categories {
    width: 20%;
    float: left;
    border: #cfdae1 2px solid;
    border-top-width: 0;
}
.filters {
    width: 20%;
    float: left;
    margin-top: 10px;
    text-align: center;
}
.labels {
    font-weight: bold;
    text-align: left;
}
.category-item {
    border-top: #cfdae1 2px solid;
}
.parent-category {
    padding: 12px;
    padding-left: 20px;
    display: inline-block;
    width: 100%;
}

.has-child {
    width: 80%;
}
.parent-category:hover, .child-category:hover {
    background-color: whitesmoke;
}
.child-category {
    font-weight: lighter;
    color: #4a5257;
    padding: 10px;
    padding-left: 25px;
    border-top: #cfdae1 2px solid;
}

.categories a {
    color: #727171;
    font-size: 14px;
    font-family: roboto, Arial, sans-serif;
    font-weight: bold;
}

.categories .glyphicon-chevron-right, .categories  .glyphicon-chevron-down {
    float: right;
    color: darkgrey;
    padding: 15px;
}
.categories .glyphicon:hover {
    background-color: whitesmoke;
    cursor: pointer;
}

.child-categories-hidden {
    display: none;
}
.active-category {
    color: #5CB51F;
    font-weight: bold;
}
.categories-button, .filters-button {
    display: none;
}
.btn {
    margin-top: 10px;
    margin-bottom: 10px;
}


@media only screen and (max-width: 768px) {
    .categories {
        width: 0;
        position: absolute;
        top: 250px;
        left: 0;
        visibility: hidden;
        transition-property: width;
        transition:  100ms;
    }
    .filters {
        width: 0;
        position: absolute;
        top: 250px;
        left: 0;
        visibility: hidden;
        transition-property: width;
        transition:  100ms;
    }

    .goods {
        width: 100%;
    }
    .categories-button {
        display: block;
        position: absolute;
        top: 210px;
        left: 0;
        width: 49%;
        height: 40px;
        line-height: 40px;
        background-color: #f3f1f1;
        z-index: 80;
        color: #727171;
        text-align: center;
        font-size: 20px;
    }
    .filters-button {
        display: block;
        position: absolute;
        top: 210px;
        right: 0;
        width: 49%;
        height: 40px;
        line-height: 40px;
        background-color: #f3f1f1;
        z-index: 80;
        color: #727171;
        text-align: center;
        font-size: 20px;
    }

    .open-categories {
        visibility: visible;
        width: 95%;
        left: 0;
        background-color: #ffffff;
        transition-property: width;
        transition:  100ms;
    }
    .open-filters {
        visibility: visible;
        width: 95%;
        left: 10px;
        background-color: #ffffff;
        transition-property: width;
        transition:  100ms;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1000px) {
    .categories {
        width: 30%;
    }
}