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

#categoryPage .articles .article {
    background-color: #e2e2e2;
    color: #403837;
}

#categoryPage .articles .article .bg-image-wrapper {
    width: 100%;
    /*height: 200px;*/
    background: no-repeat center;
    background-size: cover;
    padding-bottom: 56.25%;
}

#categoryPage .articles .article section {
    padding: 20px;
}

#categoryPage .articles .article section .title {
    margin-bottom: 5px;
    font-family: Museo700-Regular, sans-serif;
}

#categoryPage .articles .article section .title a {
    color: #403837;
}

#categoryPage .articles .article section .article-date {
    margin-bottom: 20px;
    color: #f39422;
}

#categoryPage .articles .article section .content {
    margin-bottom: 15px;
}

#categoryPage .articles .article section a.read-more {
    display: inline-block;
    color: #f39422;
}

#categoryPage .articles.blog .article section .hidden-content {
    display: none;
}

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

    #categoryPage .articles .article {
        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 30px;
    }

    #categoryPage .articles .article section .content {
        height: auto !important;
    }
}

@media(min-width: 769px) {
    #categoryPage .articles .article section .title {
        font-size: 1.5rem;
        max-height: 100px;
    }

    #categoryPage .articles.blog .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        margin-bottom: 25px;
    }

    #categoryPage .articles.blog .article {
        width: 32%;
        /*width: 31.7%;*/
    }

    #categoryPage .articles.blog .article section .top {
        height: 100px;
    }

    #categoryPage .articles.blog .row .article:nth-child(1),
    #categoryPage .articles.blog .row .article:nth-child(3) {
        /*margin-top: -60px;*/
        /*margin-top: -220px;*/
        margin-top: -230px;
    }

    #categoryPage .articles.blog .row:nth-child(1) .article:nth-child(1),
    #categoryPage .articles.blog .row:nth-child(1) .article:nth-child(3){
        margin-top: 0 !important;
    }

    #categoryPage .articles.blog .row .article:nth-child(2) {
        /*margin-right: 2%;*/
        /*margin-left: 2%;*/
        margin-right: 25px;
        margin-left: 25px;
    }

    #categoryPage .articles.blog .article section .content {
        position: relative;
        height: 190px;
        overflow: hidden;
    }

    #categoryPage .articles.blog .row:nth-child(1) .article:nth-child(2) section .content {
        /*height: 245px;*/
        /*height: 405px;*/
        height: 420px;
    }

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

@media(min-width: 992px) {
    #categoryPage .articles.blog .article section .top {
        height: 120px;
    }

    #categoryPage .articles.blog .row .article:nth-child(1),
    #categoryPage .articles.blog .row .article:nth-child(3) {
        margin-top: -190px;
    }

    #categoryPage .articles.blog .row:nth-child(1) .article:nth-child(2) section .content {
        height: 380px;
    }

    #categoryPage .articles .article section .title {
        font-size: 2rem;
    }
}

@media(min-width: 1200px) {
    #categoryPage .articles.blog .row:nth-child(1) .article:nth-child(2) section .content {
        height: 420px;
    }

    #categoryPage .articles.blog .row .article:nth-child(1),
    #categoryPage .articles.blog .row .article:nth-child(3) {
        margin-top: -230px;
    }
}

#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%;
    }
}

#categoryPage .container h1 {
    text-align: center;
    color: #f39422;
}

#categoryPage .container .heading-wave {
    text-align: center;
    padding: 15px;
}

/* HOW TO CATEGORY */

#categoryPage .how-to-banner {
    background: url("../img/kako-izabrati-banner.png") no-repeat center fixed;
    height: 500px;
    background-size: cover;
}

@media(min-width: 332px) {
    #categoryPage .how-to-banner {
        height: 140px;
    }
}

@media(min-width: 480px) {
    #categoryPage .how-to-banner {
        height: 200px;
    }
}

@media(min-width: 768px) {
    #categoryPage .how-to-banner {
        height: 290px;
    }
}

@media(min-width: 992px) {
    #categoryPage .how-to-banner {
        height: 460px;
    }
}

#categoryPage .article-container {
    padding: 30px 0;
}

#categoryPage .article-container img {
    width: 50%;
    display: inline-block;
}

#categoryPage .article-container .article-content-container {
    width: 50%;
    padding: 0 25px;
    display: inline-block;
    text-align: center;
}

#categoryPage .article-container .article-content-container .article-content {
    line-height: 1.3;
}

#categoryPage .article-container .article-content-container h3 {
    color: #f39422;
    font-family: Museo700-Regular, sans-serif;
}

@media(max-width: 1280px) {
    #categoryPage .article-container .article-content-container {
        width: 100%;
        /*margin: 20px 0;*/
        margin: 30px 0 0;
    }

    #categoryPage .article-container img {
        width: 100%;
    }

    #categoryPage .article-container .article-content-container h3 {
        padding: 0 0 35px 0;
    }
}

#categoryPage .article-container:nth-child(odd) .article-content-container {
    float: right;
}

#categoryPage .article-container:nth-child(even) .article-content-container {
    float: left;
}
