aside {
    margin-bottom: 1rem;
}

aside .categories-block {
    transition-duration: .3s;
}

aside .categories-block:hover {
    transition-duration: .3s;
}

aside .categories-block:hover .cat-button {
    background-color: #EEE !important;
    transition-duration: .3s;
}
aside .cat-menu {
    background-color: transparent;
}

.col-aside {
    flex: 0 0 300px;
    max-width: 300px;
}

.col-content {
    flex: 0 0 calc(100% - 300px);
    max-width: calc(100% - 300px);
}

@media (max-width:992px) {

    .col-aside,
    .col-content {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .aside-top {
        display: none;
    }

    aside .categories-block {
        background-color: transparent;
        width: auto;
        padding: 0;
    }

    aside .cat-button {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        transition-duration: .3s;
    }

    aside #cat-wrap {
        width: 100%;
        padding: 1rem 1rem 1rem 1.5rem;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        z-index: 50;
    }
}

.categories-block .cat-caret {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 2px;
    right: 0;
    text-align: center;
    transition-duration: .3s;
    transform: rotate(0deg);
    transform-origin: center center;
    line-height: 30px;
}

.categories-block .cat-item {
    padding: 0.375rem 0;
}

.categories-block .cat-caret:before {
    display: block;
    font-family: FontAwesome;
    content: '\f107';
    color: #999;
    font-size: 20px;
}

.cat-caret.trigger {
    transition-duration: .3s;
    transform: rotate(-180deg);
}

.cat-wrap>.cat-item {
    padding-left: 20px;
    border-bottom: 1px dashed #CCC;
}

.cat-wrap>.cat-item>.cat-link {
    width: calc(100% - 35px);
    font-size: 1.125rem;
}

.cat-wrap>.cat-item::after {
    position: absolute;
    content: '';
    display: block;
    left: 5px;
    width: 0;
    height: 20px;
    border-left: solid 4px #F39700;
    top: 8px;
}

.cat-wrap>.cat-item::before {
    position: absolute;
    content: '';
    display: block;
    left: 8px;
    width: 0;
    border-left: solid 1px #CCC;
    top: 10px;
    bottom: 10px;
}

.cat-menu>.cat-item>.cat-link {
    white-space: pre-wrap;
    word-break: break-all;
    font-size: 0.925rem;
    line-height: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 2.4rem;
}

.aside-top {
    margin-bottom: 1.5rem;
}

.aside-top span {
    position: absolute;
    z-index: 99;
    color: #FFF;
    font-weight: bold;
    font-size: 1.2rem;
    left: 15px;
    top: 6px;
    width: 90%;
    text-align: center;
}

aside ul {
    padding: 0;
}

aside ul li {
    list-style: none;
}

aside ul li::after {
    display: block;
    clear: both;
    content: '';
}

aside .collapse ul li::before {
    border: none;
}

aside .collapse ul li {
    border-bottom: 1px dotted #CCC;
    margin-left: 2rem;
    font-size: 0.9rem;
}

aside ul a {
    color: #686868;
    display: inline-block;
    width: 90%;
    cursor: pointer;
}

aside ul li.active::before {
    border-left: solid 1px #8d4999;
}

aside ul li.active>a {
    color: #8d4999;
}

aside ul li.active>a:hover {
    color: #D0A600;
}