#categoryPage .page-title {
    text-align: center;
    margin-top: 20px;
    font-size: 3.5em;
    margin-bottom: 70px;
}

#categoryPage .page-subtitle {
    margin: 0 0 10px 0;
}

#categoryPage .categories {
    margin-bottom: 40px;
}

#categoryPage .articles {
    margin-top: 20px;
}

#categoryPage .articles .article {
    margin-bottom: 30px;
}

#categoryPage .articles .article .title {
    margin-bottom: 10px;
}

#categoryPage .articles .article a.read-more {
    display: inline-block;
    margin-top: 10px;

}

#categoryPage .articles .article .bg-image-wrapper {
    width: 100%;
    height: 200px;
    background-repeat: no-repeat;
}

#categoryPage .page-content {
    margin-bottom: 20px;
}

#categoryPage .page-content ul,
#categoryPage .page-content ul li {
    list-style: initial;
}

@media(max-width: 481px) {
    #categoryPage .page-content {
        text-align: center;
    }

    #categoryPage .articles .article {
        text-align: center;
    }
}

@media(min-width: 481px) {
    #categoryPage .articles .article {
        display: inline-block;
        width: 50%;
    }

    #categoryPage .articles .article:nth-child(2n+1) {
        float: left;
    }

    #categoryPage .articles .article:nth-child(2n+2) {
        float: right;
    }
}

@media(min-width: 769px) {
    #categoryPage .articles .article {
        width: 25%;
        float: none !important;
    }

    #categoryPage .articles .article a.read-more:hover {
        text-decoration: underline;
    }
}


#categoryPage .galleries .gallery .title {
    font-size: 21px;
    font-weight: bold;
}

@media(max-width: 480px) {
    #categoryPage .galleries .gallery {
        display: block;
        margin-bottom: 20px;
    }

    #categoryPage .galleries .gallery .title {
        text-align: center;
    }
}

@media (min-width: 481px) {
    #categoryPage .galleries .gallery {
        display: inline-block;
        width: 49%;
        margin-bottom: 35px;
    }

    #categoryPage .galleries .gallery:nth-child(2n+1) {
        float: left;
    }

    #categoryPage .galleries .gallery:nth-child(2n+2) {
        float: right;
    }
}

@media (min-width: 768px) {
    #categoryPage .galleries .gallery {
        float: none !important;
        width: 32%;
    }

    #categoryPage .galleries .gallery:nth-child(3n+2) {
        margin-right: 2%;
        margin-left: 2%;
    }
}

h4.title {
    font-weight: bold;
    font-size: 27px;
    margin-bottom: 20px;
}

.three-in-a-row-subcategories {
    margin-bottom: 40px;
    height: 400px;
}

.article-image {
    margin-bottom: 40px;
}
.bg-image-wrapper {
    height: 240px;
    background-repeat: no-repeat;
    BACKGROUND-POSItion: center;
}
#categoryPage div.row {
     margin-right: 0;
     margin-left: 0;
}

a.read-more {
    font-size: 20px;
    text-decoration: underline;
    color: #da251e;
}

a.read-more:hover {
    text-decoration: none;
}

.subcategory-overlay {
    display: none;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease-out 0s;

}

.subcategory-overlay i {
    font-size: 70px;
    color:#666666 !important;
}

.bg-image-wrapper:hover .subcategory-overlay {
    display: inline-block;
}

.subcategory-overlay {
    position: relative;
}

h2.title {
    margin-bottom: 20px;
}

@media(min-width: 992px) {
    #categoryPage ul.nav-pills{
        border-right: #696868 1px dotted;

    }
}

#categoryPage .nav-pills>li>a {
    text-align: left;
}

#categoryPage .nav-pills>li.active>a {
    background-color: transparent !important;
    color: #da251e;
}

#categoryPage .nav-pills>li>a:hover {
    color: #da251e;
    background-color: #fff !important;
}

#categoryPage .nav-pills li {
    margin-top: 7px;
    margin-bottom: 7px;
    display: block;
    width: 100%;
}

#categoryPage .nav-pills>li.active>a,
#categoryPage .nav-pills>li.active>a:focus,
#categoryPage .nav-pills>li.active>a:hover {
    color: #da251e;
}

#categoryPage .nav-pills li:first-child {
    margin-top: 0;
}

#categoryPage .nav-pills li#articleId-10,
#categoryPage .nav-pills li#articleId-63 {
    margin-top: 28px;
}

.tab-pane > h2:first-of-type {
    margin-bottom: 40px;
    line-height: 1.18182;
    font-size: 44px;
    text-align: left;
    text-transform: uppercase;
    margin-top: 20px;
}

#categoryPage .nav-pills>li>a:focus, .nav-pills>li>a:hover {
    background-color: transparent !important;
    color: #da251e;
}

#categoryPage .nav-pills>li.active>a:focus {
    color: #da251e;
}

#categoryPage .article-tabs {
    padding-bottom: 20px;
    text-align: left;
}

#categoryPage .article-tabs .image-wrapper {
    margin-bottom: 20px;
}

@media (max-width: 425px) {
    h1.page-title{
        font-size: 2.5em;
        margin-bottom: 40px;
    }
    .tab-pane > h2:first-of-type {
        font-size: 2em;
    }
}

.articles-wrapper{
    display: flex;
    /*justify-content: space-between;*/
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.articles-wrapper .article-item {
    width: 33.33%;
    display: inline-block;
    text-align: center;
}

.article-item a {
    color: #da251e;
    text-decoration: underline;
}

.article-item h2 {
    margin: 10px 0;
}

.manufacturers-logo {
    width: 200px;
    height: 200px;
    position: relative;
    text-align: center;
    margin: auto;

}

.article-link-to-manufacturer {
    margin: 30px 0;
}

/*.article-link-to-manufacturer a.read-more {*/
/*    font-size: 26px*/
/*}*/

@media(max-width: 576px) {
    .articles-wrapper .article-item {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .manufacturers-logo {
        width: 170px;
        height: 150px;
        position: relative;
        text-align: center;
        margin: auto;
    }
}

@media (min-width: 577px) {
    .articles-wrapper .article-item {
        width: 50%;
        text-align: center;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .articles-wrapper .article-item {
        width: 33.33%;
        text-align: center;
        margin-bottom: 10px;
    }
}

.bg-image-wrapper {
    position: relative;
}