.category-header-banner {
    color: white;

    height: 78px;
    padding: 26px 34px;
    margin-bottom: 1px;
    position: relative;

    background-color: black;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-image: url(https://placeimg.com/943/117/nature); set programmatically in category.tpl */
}

.category-header-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-header-banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: bold;

    line-height: 43px;
    margin-bottom: 10px;
}

.category-header-banner .breadcrumb {
    color: white;
    font-size: 15px;
    margin: 0;
}

.category-header-banner .breadcrumb a {
    color: #FEE916;
    border: 0;
    padding: 0;
    text-decoration: underline;
    margin-right: 32px;
}

.category-header-banner .breadcrumb a::after {
    width: 6px;
    height: 10px;
    top: 7px;
    right: -19px;
    background: url(/img/svg/arrow_1.svg) no-repeat 0 0;
    background-size: 6px 10px;
}

/* temporarily disable mobile theme (max-width: 450) */
@media screen and (max-width: 1px) {

    .category-header-banner {
        height: 47px;
        padding: 29px 19px;
    }

    .category-header-banner h1 {
        font-size: 24px;
        line-height: 29px;
    }

    .category-header-banner .breadcrumb {
        font-size: 14px;
    }

    .category-header-banner .breadcrumb a::after {
        top: 5px;
    }
}

#category ul.cat-best-products li a {
    display: block;
}

.box.first {
    padding: 22px 20px;
    border-right: 0;
    border-left: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
}

.resumecat {
    margin: 15px 0 10px 0;
    padding: 8px 7px;
    color: #000;
    background: #f0f0f0;
}

.content_scene_cat {
    padding: 5px;
    border: 1px solid #ccc;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 1px 1px #e2e2e2;
    -webkit-box-shadow: 0 1px 1px #e2e2e2;
    box-shadow: 0 1px 1px #e2e2e2;
}

.content_scene_cat .cat_desc {
    font-size: 12px;
    line-height: 18px;
}

.content_scene_cat .cat_desc p {
    padding: 0 10px 5px 10px
}

.content_scene_cat .cat_desc .lnk_more {
    padding: 0 10px;
    color: #0088CC;
    background: url(../img/arrow_right_1.png) no-repeat 100% 4px transparent;
}


/* ************************************************************************************************
     SUB CATEGORIES
************************************************************************************************ */

#subcategories {
    margin-top: 15px
}

#subcategories h3 {
    padding: 14px 12px;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 1px 0 #666;
    background: url(../img/bg_table_th.png) repeat-x 0 0 #999
}

.inline_list {
    list-style-type: none;
    margin-top: 10px;
}

.inline_list li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc
}

.inline_list li .img {
    float: left;
    margin-right: 15px
}

.inline_list li img {
    border: 1px solid #ccc
}

.inline_list li .cat_name {
    font-weight: bold;
}

.subcats {
    margin-bottom: 13px;
}

.subcats div.title {
    float: left;
    width: 110px;
}

.subcats ul {

}

.subcats > ul > li {
    float: left;
    margin: 0 16px 15px 0;
    position: relative;
}

.subcats ul li:hover {

}

/*.subcats ul li.row_last {
    margin-right: 0;
}*/
.subcats ul li:nth-child(5n) {
    margin-right: 0;
}

.subcats ul li.row_last > a.cat_name {

}

.category_image,
.category_image img {
    float: left;
}

.category-cover-list {
    margin-bottom: 6px;
}

.category-cover-list .cover-list-wrapper {
    display: inline-block;
    width: 190px;
    height: unset;
    vertical-align: middle;
    margin-right: 20px;
    margin-bottom: 12px;
}

/*.category-cover-list .cover-list-wrapper.row_last {
    margin-right: 0;
    margin-left: 2px;
}*/
.category-cover-list .cover-list-wrapper:nth-child(5n) {
    margin-right: 0;
    margin-left: 2px;
}

.category-cover-list .cover-list-wrapper .header {
    margin-bottom: 20px;
    overflow: hidden;
    height: 24px;
}

.category-cover-list .cover-list-wrapper .header .lore {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    height: 24px;
}

.category-cover-list .cover-list {
    height: 89px;
    margin: 0 5px 20px!important;
}


@media screen and (max-width: 1280px) {

    .category-header-banner {
        background-position-x: -100px;
    }

    .subcats ul li:nth-child(5n) {
        margin-right: 16px;
    }

    .subcats ul li:nth-child(3n) {
        margin-right: 0;
    }



    .category-cover-list {
        width: 618px;
        margin-left: auto;
        margin-right: auto;
    }

    .category-cover-list .cover-list-wrapper:nth-child(5n) {
        margin-right: 20px;
        margin-left: 0;
    }

    .category-cover-list .cover-list-wrapper:nth-child(3n) {
        margin-right: 0;
        margin-left: 0;
    }

}


.lego .lego-banner-wrapper {
    margin-bottom: 26px;
}

.lego h2 {
    padding-bottom: 0;
}

.lego .lego-subcategories {

}

.lego .lego-subcategories ul {
    float: none;
    overflow: hidden;
    padding: 16px 0;
}

.lego .lego-subcategories ul li:before {
    content: '';
    background: rgb(162,0,0);
    background: -moz-linear-gradient(0deg, rgba(162,0,0,1) 0%, rgba(254,0,0,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(162,0,0,1) 0%, rgba(254,0,0,1) 100%);
    background: linear-gradient(0deg, rgba(162,0,0,1) 0%, rgba(254,0,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#a20000",endColorstr="#fe0000",GradientType=1);
    position: absolute;
    left: 0;
    height: calc(100% + 2px);
    width: 6px;
    top: -1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    z-index: 2;
    opacity: 0;
}

.lego .lego-subcategories ul li {
    background: rgb(253,253,253);
    background: -moz-linear-gradient(0deg, rgba(253,253,253,1) 0%, rgba(242,242,242,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(253,253,253,1) 0%, rgba(242,242,242,1) 100%);
    background: linear-gradient(0deg, rgba(253,253,253,1) 0%, rgba(242,242,242,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fdfdfd",endColorstr="#f2f2f2",GradientType=1);
    position: relative;
    border-radius: 3px;
    box-shadow: 2px 3px 4px -3px #0000005e;
    -webkit-box-shadow: 2px 3px 4px -3px #0000005e;
    -moz-box-shadow: 2px 3px 4px -3px #0000005e;
    overflow: hidden;

    margin: 0 16px 15px 0;
}

.lego .lego-subcategories ul li:hover {
    background: rgb(242,242,242);
    background: -moz-linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(253,253,253,1) 100%);
    background: -webkit-linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(253,253,253,1) 100%);
    background: linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(253,253,253,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f2f2f2",endColorstr="#fdfdfd",GradientType=1);
    box-shadow: 3px 4px 1px -3px #0000005e;
    -webkit-box-shadow: 3px 4px 1px -3px #0000005e;
    -moz-box-shadow: 3px 4px 1px -3px #0000005e;
}

.lego .lego-subcategories.lego-by-passion-point ul li:nth-child(5n),
.lego .lego-subcategories.lego-by-theme ul li:nth-child(5n),
.lego .lego-subcategories.lego-by-age ul li:nth-child(4n) {
    margin-right: 0;
}

.lego .lego-subcategories.lego-by-theme ul {
    padding-bottom: 0;
}

.lego .lego-subcategories.lego-by-theme ul li:nth-child(n+6) {
    display: none;
}

.lego .lego-subcategories.lego-by-age ul li a.cat_name {
    line-height: 60px;
}

.lego .lego-subcategories.lego-by-passion-point ul li a.cat_name > span {
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    line-height: 36px;
    display: block;
}

.lego .lego-subcategories.lego-by-passion-point ul li.lego-adult-builders a.cat_name > span {
    background-color: #004073;
    color: rgba(255,255,255,0.95);
}
.lego .lego-subcategories.lego-by-passion-point ul li.lego-adult-builders:hover a.cat_name > span {
    filter: brightness(105%) contrast(105%);
    -webkit-filter: brightness(105%) contrast(105%);
}

.lego .lego-subcategories.lego-image-subcategories ul li a img {
    float: left;
}

.lego .lego-subcategories.lego-image-subcategories ul li:hover a img {
    filter: brightness(105%) contrast(105%);
    -webkit-filter: brightness(105%) contrast(105%);
}

.lego .lego-subcategories.lego-image-subcategories.lego-by-age ul li:hover a img {
    filter: brightness(103%) contrast(103%) saturate(0.7);
    -webkit-filter: brightness(103%) contrast(103%) saturate(0.7);
}

.lego .lego-show-all-themes {
    margin-top: 5px;
    padding-bottom: 25px;
    text-align: center;
}

.lego .lego-show-all-themes > span {
    cursor: pointer;
}

.lego .lego-show-all-themes > span > a {
    font-size: 16px;
    font-weight: 600;
    margin-right: 3px;
    text-decoration: none;
}

.lego .lego-show-all-themes > span:hover {
    border-bottom: 1px solid black;
    padding: 2px;
}

.lego .lego-show-all-themes > span .arrow-down {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: relative;
    top: -3px;
}

.lego .lego-legal-notice {
    border-top: 1px solid #e1e1e1;
    padding-top: 10px;
    margin: 34px 0;
}

.lego .lego-legal-notice > small {
    color: #aaa;
    font-size: 11px;
}

.lego .category-header-banner .breadcrumb a {
    color: #fff;
}

@media screen and (max-width: 1280px) {

    .lego .category-header-banner {
        background-position-x: -287px;
    }

    .lego .lego-subcategories.lego-by-age ul li {
        margin-right: 4px;
        margin-bottom: 4px;
    }

    .lego .lego-subcategories.lego-by-passion-point ul li:nth-child(5n),
    .lego .lego-subcategories.lego-by-theme ul li:nth-child(5n) {
        margin-right: 16px !important;
    }

    .lego .lego-subcategories.lego-by-age ul li:nth-child(4n) {
        margin-right: 4px !important;
    }

}