.panel-left {
    width: 20%;
    float: left;
    margin-top: 10px;
}

.panel-right {
    width: 80%;
    min-height: 30em;
    float: left;
}

.cat_title {
     font-size: 1.1em;
     font-weight: bold;
}

.cat-menu {
    position: relative;
    padding: 15px 15px 0px 15px;
    margin-right: 10px;
    border: 1px solid #CCC6B6;
    border-radius: 7px;
    background: #F3EFEC;
    z-index: 1;
    max-height: 400px;
    overflow: auto;
}

.cat-menu ul {
    margin: 0;
    padding: 0;
}

.cat-menu li {
    list-style: none;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.cat-menu li:last-child {
    border-bottom: none;
}

.cat-menu a {
    line-height: 100%;
    font-size: 1.2em;
}

.cat-menu a:hover {
    color: #d60 !important;
}

.cat-menu .overall a {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    font-style: normal;
}

.cat-menu .overall a:hover {
    color: #d60;
}

.cat-menu .menu_button {
    display: none;
}

.cat-add-menu {
    position: relative;
    padding: 30px 30px 5px 30px;
    border-radius: 7px;
    background: #F3EFEC;
    z-index: 1;
    max-height: 500px;
    overflow: auto;
    margin-right: auto;
    margin-left: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cat-add-menu ul {
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
}

.cat-add-menu li {
    list-style: none;
    border-bottom: 1px solid #CCC6B6;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.cat-add-menu li:last-child {
    border-bottom: none;
}

.cat-add-menu a {
    line-height: 100%;
    font-size: 1.3em;
}

.cat-add-menu a:hover {
    color: #d60 !important;
}

.cat-add-menu .overall a {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    font-style: normal;
}

.cat-add-menu .overall a:hover {
    color: #d60;
}

.top-body {
    width: 100%;
    margin-bottom: 10px;   
}

.top-block {
    width: 100%;
    float: left;
    height: 320px;
}

.top-card {
    border-radius: 7px;
    overflow: hidden;
    margin: 10px;  
    height: 300px; 
    background-color: #fff;
    box-shadow: 3px 3px 15px #9b9b9b;
}

.top-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.topic_title {
    font-size: 1.2em;
    padding-top: 5px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    height: 74px;
    overflow: hidden;
    padding: 10px;
}

.top-card a {
    position: relative;
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 10px;
}

.no_found {
    text-align: center;
    font-size: 1.2em;
}

.check_sort {
    margin-bottom: 5px;
    float: left;
    margin-right: 7px;
}

@media only screen and (min-width: 416px) {
    .top-block {
        width: 50%;
    }  
}

@media only screen and (min-width: 600px) {
    .top-block {
        width: 33.333%;
    }
}

@media only screen and (min-width: 1100px) {
    .top-block {
        width: 25%;
    }
}

@media only screen and (min-width: 1500px) {
    .top-block {
        width: 16.666%;
    }
}

@media only screen and (min-width: 0px) and (max-width: 1000px) {
    .panel-left {
        width: 100%;
        float: none;
        margin-top: 10px;
        padding-left: 1em;
    }
    .panel-right {
        width: 100%;
        min-height: 30em;
    }
}

@media only screen and (min-width: 1px) and (max-width: 700px) {

    .cat-menu {
        padding: 0;
        max-height: none;
        overflow: visible;
    }
}

@media only screen and (min-width: 701px) and (max-width: 1000px) {

    .cat-menu {
        padding: 0 0 10px 0;
        max-height: none;
        overflow: visible;
    }
}

@media only screen and (min-width: 1px) and (max-width: 1000px) {

    .cat-menu {
        position: relative;
        margin-right: 0;
        border: none;
        background: none;
    } 
    .cat-menu ul {
        width: 300px;
        position: absolute;
        top: 0;
        left: 0;
    }
    .cat-menu li {
        display: none;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .cat-menu .cat-menu-retractable {
        background: #fff;
        border-radius: 7px;
        box-shadow: 3px 3px 15px #9b9b9b;
        max-height: 350px;
        overflow: auto;
    }
    .cat-menu .cat-menu-retractable li {
        padding: 7px;
    }
    .cat-menu .menu_button {
        display: block;
        font-size: 1.2em;
        font-weight: bold;
        color: #d60;
    }
    .cat-menu a {
        display: block;
        text-align: left;
    }
    .cat-menu ul:hover li {
        display: block;
    }   
}

