

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (max-width: 1080px) {
    #social-nav .social-label {
        display: none;
    }
}


@media only screen and (max-width: 1024px) {
    div.tile > a:hover:before,
    div.tile > a:hover .overlay {
        opacity: 1;
    }

}


@media only screen and (max-width: 930px) {

    body {
        padding: 0 40px;
    }

    a#header-logo {
        padding-top: 50px;
    }

    #social-nav .instagram,
    #social-nav .pinterest {
        text-indent: -1000px;
        overflow: hidden;
        font-family: social-ico;
        width: 0;
        padding-right: 1.1em;
        margin-right: 0.9em;
    }

    #social-nav .pinterest:before,
    #social-nav .instagram:before {
        position: absolute;
        width: 20px;
        right: 0;
        font-size: 1.9em;
        text-indent: 0;
    }

    #social-nav .instagram:before {
        content: '{';
    }

    #social-nav .pinterest:before {
        content: '[';
        font-size: 1.5em;
    }


    #social-nav li {
        border-left: none;
    }
}


@media only screen and (max-width: 767px) {

    a#header-logo {
        font-size: 0.9em;
        height: 90px;
        padding: 36px 0 20px;
        width: auto;
    }

    .main-intro {
        padding-bottom: 0;
    }
    .main-intro.project-detail-intro {
        padding-bottom: 1em;
    }


    a#nav-reveal {
        display: block;
    }

    body.nav-out #menu-main-menu {
        display: block;
        border-bottom: 1px solid #eee;
    }

    .menu-main-menu-container {
        float: left;
        position: relative;
    }
    #menu-main-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        margin-top: 1rem;
        z-index: 10;
        background-color: rgba(255,255,255,1);
        width: 200px;
        /* border-bottom: 1px solid #eee; */
        border-top: 1px solid #eee;
    }

    #main-header {
        padding-bottom: 1rem;
    }

    #menu-main-menu li {
        border-left: none;
        float: none;
        border-bottom: 1px solid #eee;
    }

    #menu-main-menu li:first-child a,
    #menu-main-menu li a {
        padding: 0.7em 0;
    }

    .col-3:nth-child(3n + 1) + .col-3,
    .col-3-x2,
    .blog-single .description.solo,
    .col-3,
    .col-2 {
        width: 100%;
        margin-right: 0;
    }

    #main .col-3,
    #main .col-2 {
        font-size: 1em;
        margin-bottom: 1em;
    }

    #main .tile.col-3,
    #main .tile.col-2 {
        margin-bottom: 0;
    }

    div.tile.col-2:nth-child(2) {
        margin-top: 1em;
        padding-top: 1em;
        border-top: 1px solid #3c3c3b;
    }

    .col-3 > header,
    .col-2 > header {
        font-size: 1.2em;
    }

    .about-images .col-3 {
        width: 31.7708333333%;
    }

    .about-images .col-3-x2 {
        width: 65.9375%;
    }

    .about-images .col-3,
    .about-images .col-2 {
        margin-right: 2.29166%;
    }

    .about-row .reviews {
        width: 100%;
        margin-top: 1em;
        border-top: 1px solid #3c3c3b;
    }


    #fj-map {
        height: 260px;
    }

    .contact-area p,
    .blog-single article.col-3 p,
    .project-details > article p,
    .col-2 > p, .col-2 blockquote p,
    .col-3-x2 > p,
    .col-3-x2 blockquote p {
        font-size: 1.1em;
    }

    .blog-teaser .col-2.vc,
    .reviews .vc {
        height: auto;
    }

    .fjGallery .title-area {
        /*position: relative;*/
        /* margin-top: 0.7em; */
        left: 0;
        width: 78%;
        margin: -36px 11% 0;
        box-sizing: border-box;
        top: 50%;
        bottom: auto;
        height: 71px !important;
        background: transparent;
        /* color: #a8a8a7; */
        border: 6px solid #fff;
    }

    .fjGallery {
        height: auto;
        margin-bottom: 2em;
    }

    .fjGallery .slide-area {
        height: 210px;
    }

    .fjGallery .title-area a.overlay {
        /*color: #3c3c3b;*/
        /*text-shadow: none;*/
        display: table;
        width: 100%;
        height: 100%;
        padding: 0;
    }

    .fjGallery .title-area a.overlay .cta {
        display: none;
    }

    .fjGallery .title-area a.overlay .title {
        /*text-shadow: none;*/
        font-size: 1.4em;
        display: table-cell;
        vertical-align: middle;
    }


    .fjGallery .title-area a.overlay:hover {
        background-color: transparent;
    }

    .fjGallery ol.slide-nav li {
        margin: 0 2px;
    }

    .fjGallery ol.slide-nav li a {
        width: 16px;
        height: 16px;
        /* margin: 0 0.1em; */
    }
    .fjGallery ol.slide-nav li a:before {
        content: '';
        width: 15px;
        height: 15px;
        border: 1px solid #a8a8a7;
        position: absolute;
        left: 1px;
        top: 1px;
        background-color: #fff;
    }

    .fjGallery ol.slide-nav li a:hover:before,
    .fjGallery ol.slide-nav li a.active:before {
        background-color: #3c3c3b;
    }

    .fjGallery ol.slide-nav {
        display: none;
    }

    .col-2 .col-2 a.more-link {
        font-size: 0.9rem;
    }

    div.tile.col-1 .vc,
    div.tile .vc {

        width: 90%;

        margin-left: 5%;

    }

    div.tile > a {
        height: 13em;
    }

    .blog-single {
        margin-top: 0;
    }

    #blog-filter {
        margin: 0.3em 0 0.7em;
    }

    #main .blog-listing .tile.col-3 {
        margin-bottom: 0.4em;
    }
}


@media only screen and (max-width: 620px) {

    .blog-single .description {
        width: 100%;
        float: none;
        position: static !important;
    }

    .blog-single .fdd-gallery-container {
        width: 100%;
    }
}


@media only screen and (max-width: 580px) {


    a#header-logo {
        font-size: 0.7em;
        height: 60px;
        padding-top: 30px;
    }

    body {
        padding: 0 20px;
    }

    .col-2 .col-2 {
        width: 100%;
    }

    .col-2 .col-2 p {
        font-size: 1rem;
    }
}


@media only screen and (max-width: 479px) {

    a#header-logo:active {
        transform: translateY(0);
    }

    .fdd-gallery a.portrait {
        width: 97.759674134419551934826883910387%;
    }

    .blog-single .fdd-gallery a.portrait {
        width: 96.78899082568807%;
    }

    body {
        padding: 0 13px;
    }

    #fj-map {
        height: 200px;
    }
}