.newspage-section-box{
    width: 100vw;
    margin-left: calc((-100vw + 1128px) / 2 );
    padding: 10vh 0;
    position: relative;
    overflow: hidden;
}
.newspage-section-box .category-color{
    height: 100%;
    position: absolute;
    width: 100%;
    opacity: 0.5;
    left: 0;
    top: 0;
}
.newspage-section-box h3{
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 6.4rem;
    line-height: 6.8rem;
    color: #FFFFFF;
    margin-bottom: 30px;
}

.newspage-section-box .news-box .image-box-news{
    position: relative;
    width: 475px;
    height: 600px;
}
.newspage-section-box .news-box .image-box-news img{
    display: block;
}
.newspage-section-box .overlay-block{
    background: #fff;
    height: 80vh;
    width: 90vw;
    position: absolute;
    left: 0;
    top: 25vh;
}

.newspage-section-box  .news-section{
    width: 100vw;
    height: auto;
    margin-right: 20px;
    position: relative;
}
.newspage-section-box .home-posts-flex-container{
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    width: 100%;
    position: relative;
}
.newspage-section-box .wrapper{
    display: flex;
    flex-wrap: wrap;
}
.newspage-section-box .instagram-social-home{
    display: block;
    min-width: 475px;
    height: 475px;
    margin-right: 10px;
    position: relative;
}
.newspage-section-box .instagram-social-home .instagram-overlay{
    background: #F1A494;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}
.newspage-section-box .instagram-social-home:hover .instagram-overlay{
    opacity: 0.75;
}

.newspage-section-box .news-box h4{
    position: absolute;
    bottom: 50px;
    left: 0;
    color: #343A74;
    font-weight: 800;
    font-size: 45px;
    line-height: 57px;
    font-family: 'Playfair Display';
    max-width: 475px;
}

.news-page-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.newspage-section-box .news-box{
    flex: 0 0 49%;
    margin-bottom: 60px;
}
.load-more{
    cursor: pointer;
    margin: 50px auto 0;
}
.page-load-status {
    display: none;
    padding-top: 20px;
    border-top: 1px solid #DDD;
    text-align: center;
    color: #777;
    flex: 0 0 100%;
    width: 100%;
}
.loader-ellips {
    font-size: 20px; /* change size here */
    position: relative;
    width: 4em;
    height: 1em;
    margin: 10px auto;
}
.loader-ellips__dot {
    display: block;
    width: 1em;
    height: 1em;
    border-radius: 0.5em;
    background: #555; /* change color here */
    position: absolute;
    animation-duration: 0.5s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}
.loader-ellips__dot:nth-child(1),
.loader-ellips__dot:nth-child(2) {
    left: 0;
}
.loader-ellips__dot:nth-child(3) {
    left: 1.5em;
}
.loader-ellips__dot:nth-child(4) {
    left: 3em;
}
@keyframes reveal {
    from {
        transform: scale(0.001);
    }
    to {
        transform: scale(1);
    }
}
@keyframes slide {
    to {
        transform: translateX(1.5em)
    }
}
.loader-ellips__dot:nth-child(1) {
    animation-name: reveal;
}
.loader-ellips__dot:nth-child(2),
.loader-ellips__dot:nth-child(3) {
    animation-name: slide;
}
.loader-ellips__dot:nth-child(4) {
    animation-name: reveal;
    animation-direction: reverse;
}
.np-nav{
    display: none;
}

.infinite-scroll-last{
    max-width: initial;
}

.news-filters-box{
    margin-top: -40px;
    margin-bottom: 40px;
    width: 100%;
}
.news-filters-box h3{
    display: inline-block;
    font-size: 42px;
}
.news-filters-box .news-filters{
    display: inline-block;
    float: right;
    line-height: 57px;
    text-transform: uppercase;
}
.news-filters-box .news-filters .filter{
    display: inline-block;
    margin-right: 50px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 2.2rem;
    color: #343A74;
}
#filternews{
    display: inline-block;
}
#filternews .filters{
    display: inline-block;
}
#filternews .filters .container{
    font-size: 14px;
    margin-right: 30px;
    position: relative;
    line-height: 58px;
    display: inline-block;
    height: 58px;
}
#filternews .filters .container:first-of-type{
    margin-right: 50px;
}
#filternews  .archive,
#filternews  .cats {
    display: none
}
#filternews .archive,
#filternews .cats{
    width: 240px;
    height: 40px;
    font-size: 16px;
    padding-left: 10px;
    background: #fff;
    border-radius: none;
    border: 1px solid #343A74;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 2.2rem;
    color: #343A74;
    text-transform: uppercase;

}

#filternews .archive.active,
#filternews .cats.active {
    display: inline-block;
}

#filternews .filters .container input{
    position: absolute;
    left: -20px;
    top: 0;
    height: 58px;
    cursor: pointer;
}


#filternews .filters .container .checkmark {
    position: absolute;
    top: 21px;
    left: -25px;
    height: 16px;
    width: 16px;
    background-color: #343A74;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;

}

#filternews .filters .container:hover input ~ .checkmark {
    background-color: #ccc;
}

#filternews .filters .container input:checked ~ .checkmark {
    background-color: #343A74;
}

#filternews .filters .container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}


#filternews .filters .container input:checked ~ .checkmark:after {
    display: inline-block;
}

#filternews .filters .container .checkmark:after {
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
#filternews .filters .container .textcheck{
    display: inline-block;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 2.2rem;
    color: #343A74;
}














@media only screen and (max-width: 1160px) {
    .newspage-section-box{
        margin-left: -5vw;
    }
    .newspage-section-box .news-section{
        margin-right: 0;
    }
    .newspage-section-box .news-box .image-box-news{
        width: 460px;
    }
    .newspage-section-box .news-box .image-box-news img{
        width: 100%;
    }
}
@media only screen and (max-width: 1024px) {
    .news-page-list{
        flex-direction: column;
    }
    .newspage-section-box .overlay-block{
        width: 100%;
        height: 100%;
    }
    .home-posts-flex-container {
        margin-left: 0;
        padding-bottom: 80px;
    }
    .newspage-section-box{
        margin-left: -5vw;
    }
    .newspage-section-box .news-section{
        width: 100%;
        margin-left: 0;
    }
    .newspage-section-box .wrapper{
        flex-direction: column;
    }

    .newspage-section-box .news-box .image-box-news {
        position: relative;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .newspage-section-box .news-box .image-box-news img{
        width: 100%;
        height: auto;
        display: block;
    }
    .newspage-section-box .news-box h4{
        max-width: 100%;
        padding: 0 5%;
        width: 100%;
        box-sizing: border-box;
        bottom: 0;
        font-size: 3rem;
        line-height: 3.4rem;
    }

    .newspage-section-box h3{
        font-size: 3.5rem;
        line-height: 3.4rem;
    }
}
@media only screen and (max-width: 700px) {
    #filternews .filters {
        width: 100%;
        box-sizing: border-box;
        padding-left: 5vw;
    }
    .news-filters-box .news-filters .filter,
    #filternews .archive, #filternews .cats {
        width: 100%;
        margin-right: 0px;
    }
    .news-filters-box .news-filters{
        float: left;
    }
    #filternews{
        width: 100%;
    }
}
