div.catalog{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 1px solid rgba(43, 43, 70, 0.15);
    border-radius: 5px;
    margin: 3rem 0;
    background-color: white;
}

div.category{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex:1;
    /*width: 25vw;*/
    min-height: 300px;
    max-height: 320px;
    border-right: 1px solid rgba(43, 43, 70, 0.15);
    padding: 40px;
    position: relative;
}

@media (max-width: 1280px) {
    div.catalog{
        border: none;
    }
    div.category{
        flex: 1 1 40%;
        border: 1px solid rgba(43, 43, 70, 0.15)!important;
        border-radius: 5px;
        margin: 0 1rem 2rem 0;
    }
}

@media (min-width: 1740px) {
    div.category{
        flex: 1 1 25%;
    }
}

/*@media (max-width:1740px) {*/
    /*div.category{*/
        /*flex: 0 1 45%;*/
    /*}*/
/*}*/

@media (max-width:750px) {
    div.category {
        flex: 100%;
        margin-right: 0!important;
    }
}

div.category > span.cat-num{
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 40px;
    line-height: 40px;
    background-color: white;
    color: rgba(43, 43, 70, 0.26);
    padding: 0 20px;
}

div.category > label.cat-desc, div.category > a.cat-desc{
    font-size: 13px;
    color: rgba(43, 43, 70, 0.36);
    text-transform: uppercase;
    max-width:50%;
    line-height: 18px;
    text-decoration: none;
}

div.category{
    background-repeat: no-repeat!important;
    background-size: contain!important;
    background-position-y: bottom!important;
    background-position-x: right!important;
}

div.category > * {
    z-index: 5;
}

.gradient {
    display: inline-block;
    position: relative;
    line-height: 0;
}
.gradient:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    background: transparent;
    border-radius: 4px;
    background-image: linear-gradient(
            -65deg, rgba(255,255,255,0) 20%, rgba(255,255,255,0.6) 35%, rgba(255,255,255,1) 60%);
    opacity: 1;
}

div.category.cat-1{
     background: url("/images/category-1.png") no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: right;
}

div.category.cat-2{
    background: url("/images/category-2.png") no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: right;
}

div.category.cat-3{
    background: url("/images/category-3.png") no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: right;
}

div.category.cat-4{
    background: url("/images/category-4.png") no-repeat;
    background-size: cover;
    background-position-y: bottom;
    background-position-x: right;
}

/*@media (max-width:1280px) {*/
    /*div.stages-blocks > div.stage{*/
        /*width: 50%;*/
    /*}*/
/*}*/


div.catalog > div.category:last-child{
    border-right: none;
}

div.catalog-breadcrumb{
    border-bottom: 1px solid rgba(0, 0, 87, 0.11);
}

div.section-breadcrumb{
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

div.catalog-breadcrumb ol.breadcrumb{
    margin:0!important;
}

div.catalog-breadcrumb ol.breadcrumb a, div.catalog-breadcrumb li.breadcrumb-item, div.catalog-breadcrumb ol.breadcrumb a label{
    font-family: Manrope;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    line-height: 15px;
    letter-spacing: 0.07em;
    text-align: left;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

div.catalog-breadcrumb li.breadcrumb-item{
    color: #000057;
    height: 1.6rem;
}

div.catalog-breadcrumb  .breadcrumb-item+.breadcrumb-item::before{
    content: ' ';
    background: url("data:image/svg+xml, %3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L1 11' stroke='%230048FF' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
    width: 8px;
    height: 12px;
    background-position: center;
    margin: 0 1rem 0 0.5rem;
}

div.catalog-breadcrumb div.small-home-icon svg{
    width: 16px;
    height:14px;
}

div.full-catalog{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;  /* NEW */
}

div.full-catalog .category{
    margin: 2rem 2rem 0 0;
    /*flex: 1 1 40%;*/
    border: 1px solid rgba(0, 0, 87, 0.1);
    box-sizing: border-box;
    border-radius: 5px;
    min-width: 300px;
    position: relative;
    background: transparent;
}

div.full-catalog .category span.cat-index{
    font-family: Manrope;
    font-style: normal;
    font-weight: bold;
    font-size: 13px;
    line-height: 18px;
    text-transform: uppercase;

    color: #000057;

    opacity: 0.35;
}

div.full-catalog .category:before{
    content: ' ';
    position:absolute;
    width:100%;
    height:100%;
    background: linear-gradient(180deg, #000057 0%, #0048FF 100%);
    z-index: -1;
    top: 0;
    left: 0;
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

div.full-catalog .category.hovered:before{
    opacity: 1;
    transition: opacity 0.6s ease-in-out;
}

div.full-catalog .category.hovered{
    color:white;
    /*background: linear-gradient(180deg, #000057 0%, #0048FF 100%);*/
    box-shadow: 0px 60px 60px -20px rgba(0, 72, 255, 0.05), 0px 20px 60px -20px rgba(0, 72, 255, 0.05);
}

div.full-catalog .category.hovered h4, div.full-catalog .category.hovered a, div.full-catalog .category.hovered ul.subcategory-list li, div.full-catalog .category.hovered ul.subcategory-list li a {
    color:white!important;
}


div.full-catalog .category.hovered .subcategory-list{
    display: block;
}

div.full-catalog .category.hovered a{
    display: flex;
}

div.full-catalog .category .subcategory-list, div.full-catalog .category a{
    display: none;
}

div.full-catalog .category.hovered .subcategory-list{
    display: block;
}

div.full-catalog .category .cat-index, div.full-catalog .category .category-image{
    display: block;
}

div.full-catalog .category.hovered .cat-index {
    color: white;
    opacity: 0.5;
}

/*div.full-catalog .category.hovered .cat-index, div.full-catalog .category.hovered .category-image{*/
    /*display: none;*/
/*}*/

ul.subcategory-list{
    list-style: none;
    padding: 0;
    max-height: 200px;
    overflow: auto;
}

ul.subcategory-list li{
    margin-bottom: 1rem;
    font-family: Manrope;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    font-feature-settings: 'pnum' on, 'lnum' on;

}

ul.subcategory-list::-webkit-scrollbar {
    width: 6px;               /* ширина scrollbar */
}
ul.subcategory-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.11);
    /*border-radius: 1px;*/
    /*border: 2px solid white;*/
}
ul.subcategory-list::-webkit-scrollbar-thumb {
    background-color: white;
    border-radius: 0.5rem;

}

div.catalog-breadcrumb li.breadcrumb-item.collapsed-categories{
    display: none;
}

@media (max-width:768px) {
    div.catalog-breadcrumb li.breadcrumb-item.collapsed-categories{
        display: flex;
    }
    div.catalog-breadcrumb li.breadcrumb-item.visible-category{
        display: none;
    }
    li.collapsed-categories{
        display: block;
    }
    div.catalog-breadcrumb{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background-color: white;
        z-index: 10;
    }
}

ul.category-breadcrumb-full{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-height: 100vh;
}

ul.category-breadcrumb-full > li{
    display: flex;
    border-bottom: 1px solid rgba(0, 0, 87, 0.15);
    width: 100%;
    align-items: center;
    height: 4rem;
}

ul.category-breadcrumb-full > li > a{
    display: flex;
    align-items: center;
    margin: 0;
    text-decoration: none;
    cursor: pointer;
}



ul.category-breadcrumb-full li > a:hover{
    text-decoration: underline!important;
}

ul.category-breadcrumb-full li > a > label{
    color: #0048FF;
    text-transform: uppercase;
    font-weight: 600;
    margin-left: 14px;
    white-space: nowrap;
    font-size: 1rem;
    cursor: pointer;
}

ul.category-breadcrumb-full li > a > span{
    margin-right: 1rem;
    font-family: Manrope;
    font-style: normal;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.1rem;
    text-transform: uppercase;
    color: #000057;
    opacity: 0.35;
}
