@media only screen and (max-width: 1070px){

    #sec01 .gallery-wrap{
        text-align: center;
    }

        #sec01 .gallery-wrap .video-wrap,
        #sec01 .gallery-wrap .image-items-wrap{
            float: none;
            display: inline-block;
        }

        #sec01 .gallery-wrap .image-items-wrap{
            margin-bottom: 30px;
        }

}

@media only screen and (max-width: 1023px){

    .posts-wrap ul {
        font-size: 0;
    }

    .posts-wrap li {
        margin: 0 0.5%;
        width: 24%;
    }

    .posts-wrap li img{
        width: 100%;
    }

    #sec01 .gallery-wrap ul {
        /*
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        width: 40%;*/
    }

    #sec01 .gallery-wrap ul li img{
        width: 100%;
    }

    #sec01 .gallery-wrap .media-wrap {
        width: 58%;
    }

    .videoWrapper iframe {
        box-sizing: border-box;
    }

    .posts-wrap.type03 ul{
        font-size: 0;
    }

    .posts-wrap.type03 li {
        width: 50%;
        padding: 0 5px;
        box-sizing: border-box;
        margin: 0;
    }

    .posts-wrap.type04 li {
        margin: 0 0 20px 0;
        width: 50%;
    }
}


@media only screen and (max-width: 800px){

    .post-list-search header .options{
        margin-top:20px;
        position: static;
    }
/*
    section#sec04 .slider-wrap .items-wrap ul, section#sec05 .slider-wrap .items-wrap ul{
        width: 100%!important;
    }
*/
}


@media only screen and (max-width: 768px){

    #sec01 h4 {
        font: normal 16px/21px Avenir-Heavy;
        margin-bottom: 15px;
    }

    #sec01 .gallery-wrap .image-wrap img.h{
        max-width: 85vw;
        width: 100vw;
    }

    #sec01 .gallery-wrap .image-wrap img.v{
        max-height: 85vw;
        height: 100vw;
    }

    #sec01 .gallery-wrap .image-wrap .nav.prev{
        left: 10px;
    }

    #sec01 .gallery-wrap .image-wrap .nav.next{
        right: 10px;
    }

    .post-list-search header .options {
        float: none;
        margin-top: 5px;
        font-size: 14px;
    }
/*
    .posts-wrap ul {
        margin:0 auto;
        width:450px;
    }
*/
    .posts-wrap li {
        margin: 0;
        width: 100%;
        margin-bottom: 10px;
    }

    .posts-wrap li h4{
        height: auto;
    }

    section#sec04 .slider-wrap .items-wrap, section#sec05 .slider-wrap .items-wrap{
        width: 100%!important;
    }

    section#sec04 .slider-wrap .items-wrap ul, section#sec05 .slider-wrap .items-wrap ul{
        width: 100%!important;
    }

    section#sec04 .slider-wrap .nav.next, section#sec05 .slider-wrap .nav.next{
        display: none;
    }
/*
    .posts-wrap li:nth-child(even) {
        margin-right: 0;
    }
    */
/*
    .posts-wrap li img{
        width: 100%!important;
    }
*/
    .posts-wrap li h4 {
        font: normal 14px/20px Avenir-Heavy;
        padding: 10px 15px 10px;
        margin: 5px 0;
    }

    #sec01 .gallery-wrap ul {
        width: 100%;
        float: none;
    }

    #sec01 .gallery-wrap .media-wrap {
        width: 100%;
        margin-top: 10px;
        float: none;
        height: auto;
    }

    #sec01 .gallery-wrap .video-wrap{
        width: 350px;
    }

        #sec01 .gallery-wrap .slider-wrap .items-wrap{
            width: 350px!important;
        }

           #galeria-multimedia-video-slider ul li button img,
           #sec01 .gallery-wrap .slider-wrap li img{
                height: auto;
                width: 350px;
            }

    #sec02 .content-wrap {
        padding-top: 15px;
    }

    #sec02 #newsletter-form legend {
        font: normal 14px/20px Avenir-heavy;
    }

    #sec02 #newsletter-form input:not([type="checkbox"]) {
        background: url(../../img/icons/icon-email@2x.png) no-repeat center left 15px;
        background-size: 24px 20px;
        font: normal 14px/20px Avenir-Medium;
        margin-bottom: 20px;
        padding: 10px 20px 10px 50px;
        box-sizing: border-box;
    }

    .content-section .btn.type01 {
        font: normal 14px/21px Avenir-Heavy;
        padding: 8px 24px;
        width: 100%;
    }

    #sec02 .content-main > aside h3 {
        font: normal 21px/23px Avenir-Heavy;
        left: 0px;
        padding-bottom: 15px;
        position: relative;
        top: 0px;
        width: 100%;
    }

    #sec02 .content-main > aside {
        margin-bottom: 0px;
    }

    #sec02 .content-main > aside div a {
        bottom: 0px;
        left: 0%;
        position: relative;
        transform: translateX(0%);
        text-align: center;
        border-radius: 50px;
        box-sizing: border-box;
        margin-top: 5px;
    }

    #sec02 .posts-wrap ul{
        grid-template-columns: 1fr;
    }

    #sec03 .posts-wrap {
        margin-top: 15px;
    }

    .posts-wrap.type03 li {
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        margin: 0 0 10px;
    }

    .posts-wrap.type04 li {
        margin: 0 0 15px;
        width: 100%;
    }

    .posts-wrap.type04 li figcaption {
        font: normal 14px/21px Avenir-Light;
        margin-bottom: 5px;
        padding: 0 15px;
    }

    #sec06 .contact-info-wrap {
        flex-direction: column;
    }

}



@media only screen and (max-width: 520px){
/*
    .posts-wrap ul {
        margin:0 auto;
        width:205px;
    }

        .posts-wrap ul li{
            margin-right:0
        }
*/
    .post-list-search header .search-input-wrap{
        width: 100%;
    }

    .post-list-search header .search{
        width: 100%;
    }

    #sec01 .gallery-wrap .image-items-wrap {
        width: 300px;
    }

    #sec01 .gallery-wrap .image-items li button {
        height: 90px;
        width: 90px;
    }

    #sec01 .gallery-wrap .image-items-wrap > ul{
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 90px 90px 90px;
        padding: 0 4px 0 0;
    }

    #sec01 .gallery-wrap .video-wrap{
        border-width: 5px;
        width: 270px;
    }

        #sec01 .slider-wrap .nav.prev{
            left: -35px;
        }

        #sec01 .slider-wrap .nav.next{
            right: -35px;
        }

        #sec01 .gallery-wrap .slider-wrap .items-wrap{
            width: 270px!important;
        }

           #galeria-multimedia-video-slider ul li button img,
           #sec01 .gallery-wrap .slider-wrap li img{
                height: auto;
                width: 270px;
            }

            .mobile{
                display: block;
                font-size: 14px;
                margin-bottom: 15px;
            }

}