/* ------------ HEADER (start) ------------ */

/* Customize header width: */
@media only screen and (min-width: 768px) {
    /* Header: */
    .headerAndNavContainer {
        width: 216px; /* Was 28% */
    }
    .headerContainer {
        /*background-color: red;*/
        padding-left: 10px;
        padding-right: 10px;
    }
    .navContainer {
        /*background-color: blue;*/
        padding-left: 10px;
        padding-right: 10px;
    }
    
    
    /* Content: */
    .fullBleed .primaryAndSecondaryContainer {
        width: calc(100% - 216px); /* Was 72% */
        padding-left: 0;
    }
}

/* Nav font size (maxes out at 12): */
.navContent li a, .navContent li .navLabel {
    font-size: 11px;
}


/* ------------ HEADER (end) ------------ */

/* ------------ IMAGE INFO START -------- */
.image-info {
    padding: 5px 36px;
    font-size: 10px;
    text-transform: uppercase;
}
/* ------------------ END --------------- */


/* ------------ GALLERIES (start) ------------ */

/* Galleries images flush-top: */
@media only screen and (min-width: 768px) {
    .fixedHeightGallery {
        padding-top: 36px;
    }
    
    .flexslider {
        /*height: calc(100vh - 136px) !important;*/
    }
    
    .fs-item {
        height: auto !important;
        width: auto !important;
        margin: 0 !important;
        position: absolute !important;
    }
    
    /* design mode -> .scEditable-dragwell */
    .fixedHeightGallery .scEditable-dragwell {
        position: relative !important;
    }
    
    .fs-item img {
        position: relative !important;
        max-height: calc(100vh - 136px) !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
    }
    
    .fixedHeightGallery .slides {
        position: relative;
        margin: 0 36px;
        height: 100%;
    }
    .flex-next, .flex-prev {
        position: fixed;
        width: 36px;
        height: 36px;
        top: calc(100% - 128px);
        left: 214px;
    }
    .flex-prev {
        left: 180px;
    }
}


@media only screen and (max-width: 767px) { /* phones */
    .flex-next, .flex-prev {
        position: fixed;
        width: 36px;
        height: 36px;
        top: calc(100% - 1px);
        left: 50%;
    }
    .flex-prev {
        left: calc(50% - 36px);
    }
    
    /* FlexSlider Gallery - Force mobile to function like desktop (no dots): */
    .touch .hasSlideshow .blockImg .flex-direction-nav {
        display: inline;
    }
    .touch .hasSlideshow .blockImg .flex-control-nav {
        display: none;
    }
    
    .image-info {
        text-align: center;
    }
    
    /* Construction gallery: */
    /*.fixedHeightGallery .slides > li {*/
    /*    height: calc(100vh - 20px);*/
    /*    height: 100vh;*/
    /*}*/
}


/* ------------ GALLERIES (end) ------------ */



/* ------------ INFO PAGES (start) ------------ */

/* Make text align with images: */
.blockContainer .blockText {
    padding-left: 0;
    padding-right: 0;
}


/* ------------ INFO PAGES (end) ------------ */