/* reset */

/*
@media (min-width: $media-md) {
}
@media (min-width: $media-lg) {
}
@media (min-width: $media-xl) {
}
@media (min-width: $media-x2l) {
}
@media (min-width: $media-x3l) {
}
*/

.section-title
{
    border-top: 1px solid #2c2c2c;
    border-bottom: 1px solid #2c2c2c;
    padding: 15px 0;
    background-color: #121212;
    position: relative;
}

.section-title:before
{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 0.5px);
    width: 1px;
    background: #2c2c2c;
}

.section-title__h1
{
    text-transform: uppercase;
    font-size: 26px;
    color: #2d2d2d;
    line-height: 1.2em;
    font-weight: 300;
    max-width: 50%;
}

.section-title--nice:before
{
    display: none;
}

.section-title--nice .section-title__h1
{
    font-family: "Apoc Hairline", Helvetica, Arial, Lucida, sans-serif;
    color: #ededed;
    font-weight: 400;
    max-width: 100%;
}

.section-title-large
{
    border-bottom: 1px solid #2c2c2c;
    position: relative;
    z-index: 2;
}

.section-title-large__bg
{
    opacity: 0;
    position: absolute;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    -o-object-fit: cover;
    object-fit: cover;
    max-width: 1100px;
    height: auto;
}

.filter
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-bottom: 25px;
}

.filter-item
{
    margin: 0 7px 5px 0;
    padding-right: 7px;
    border-right: 1px solid #2c2c2c;
}

.filter-item:last-child
{
    margin-bottom: 0;
    border: none;
}

.filter-item__link
{
    color: #8e8e8e;
    padding: 10px 18px 10px 18px;
    line-height: 20px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    white-space: nowrap;
    min-height: 20px;
}

.filter-item__link:hover
{
    color: #fff;
}

.filter-item__link.active
{
    color: #fff;
}

.projects .y-row
{
    margin: 0 -3px -6px;
}

.projects .y-col
{
    padding: 0 3px 6px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.projects-item
{
    position: relative;
    padding-bottom: 75%;
    display: block;
    overflow: hidden;
}

.projects-item__image
{
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transform: perspective(1000px) scale(1.2, 1.2);
    transform: perspective(1000px) scale(1.2, 1.2);
    -webkit-transform-style: flat;
    transform-style: flat;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.projects-item__title
{
    position: absolute;
    z-index: 2 !important;
    bottom: 30px;
    left: 30px;
    right: 30px;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    font-weight: 400;
    padding: 4px 10px 4px 10px;
    display: block;
    opacity: 1;
    font-family: "Apoc Hairline";
}

.projects-item:before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.8)), color-stop(70%, rgba(255, 255, 255, 0)));
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    opacity: 1;
}

/*.projects-item:hover .projects-item__image {*/
/*  -webkit-transform: perspective(1000px) translate3d(0, 0, 0);*/
/*          transform: perspective(1000px) translate3d(0, 0, 0);*/
/*  -webkit-transition: all 0.6s linear;*/
/*  transition: all 0.6s linear;*/
/*}*/



.wp-pagenavi__wrapper
{
}

.wp-pagenavi__wrapper:after
{
    content: '';
    flex: 1;
}

.wp-pagenavi__wrapper .wp-pagenavi
{
    flex: 1;
}

.projects__load-more
{
    margin-top: 30px;
    display: none;
}
.wp-pagenavi__wrapper .wp-pagenavi + .projects__load-more
{
    display: block;
}
@media (min-width: 639px)
{

    .projects .y-col
    {
        width: 50%;
    }
}

@media (min-width: 768px)
{

    .section-title
    {
        padding: 23px 0;
    }

    .section-title__h1
    {
        font-size: 36px;
    }

    .section-title-large
    {
        padding-bottom: 50px;
        padding-top: 50px;
    }

    .section-title-large__bg
    {
        opacity: 1;
    }

    .section-title--nice .section-title__h1
    {
        text-align: center;
    }

    .projects .y-col
    {
        width: 33.33%;
    }
}

@media (min-width: 992px)
{

    .wp-pagenavi__wrapper
    {
        display: flex;
    }
    .section-title-large
    {
        position: relative;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .section-title-large:before
    {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(25% - 0.5px);
        width: 1px;
        background: #2c2c2c;
    }

    .section-title-large:after
    {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(75% - 0.5px);
        width: 1px;
        background: #2c2c2c;
    }

    /*.projects-item__title {*/
    /*  opacity: 0;*/
    /*  -webkit-transition: all 0.4s ease-in-out;*/
    /*  transition: all 0.4s ease-in-out;*/
    /*}*/
    /*.projects-item:before {*/
    /*  opacity: 0;*/
    /*  -webkit-transition: all 0.4s ease-in-out;*/
    /*  transition: all 0.4s ease-in-out;*/
    /*}*/
    /*.projects-item:hover:before {*/
    /*  opacity: 1;*/
    /*}*/
    /*.projects-item:hover .projects-item__image {*/
    /*  -webkit-transform: perspective(1000px) translate3d(0, 0, 0);*/
    /*          transform: perspective(1000px) translate3d(0, 0, 0);*/
    /*  -webkit-transition: all 0.6s linear;*/
    /*  transition: all 0.6s linear;*/
    /*}*/
    /*.projects-item:hover .projects-item__title {*/
    /*  opacity: 1;*/
    /*}*/
}

@media (min-width: 1200px)
{
    .section-title__h1
    {
        font-size: 42px;
    }
}

@media (min-width: 1800px)
{
    .projects .y-col
    {
        width: 25%;
    }
}