﻿/* resets */

body {
    position: relative;
}

body, a {
    background-color: white;
    color: black;
}

li {
    text-decoration: none;
    list-style-type: square;
}

.container {
    max-width: 2500px;
}

.container img {
    width: 100%;
}

img {
    max-width: 100%;
}

a:hover {
    text-decoration: none;
}

/* fonts */

h1, h2, h3, h4 {
    font-family: 'Assistant', Helvetica, Arial, sans-serif;
}

.navbar-brand {
    font-family: 'Archivo Narrow', Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 3.7rem;
    display: block;
}

.subheader {
    font-family: 'Archivo Narrow', Helvetica, Arial, sans-serif;
    color: #ccc;
    font-size: 1.5rem;
    margin-left: 1px;
    clear: both;
}

p, a, li, .caption {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
}

.caption {
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #777;
}

p, li {
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 300;
    line-height: 2em;
    max-width: 70em;
}

h2, h3 {
    margin-top: 0;
}

p {
    margin-bottom: 25px;
}

.navbar-nav a {
    font-size: 1.3rem;
    letter-spacing: .5px;
}

#bodySection h2 {
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 3rem;
    text-transform: uppercase;
}

#bodySection h3 {
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 2.7rem;
    display: inline-block;
}

.copyright {
    font-size: 1.2rem;
}

.textBlockCenter {
    margin-left:auto;
    margin-right: auto;
}

/* top menu adjustments */

.navbar-nav {
    text-transform: uppercase;
}

.navbar-nav {
    margin-right: -26px;
}

.navbar-default {
    background-color: inherit!important;
    border: none;
    border-color: white !important;
    margin-top: 84px;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #555;
    background-color: white!important;
}

.navbar-brand {
    text-transform: uppercase;
    font-size: 18px !important;
    margin-top: -2px;
}

.navbar-default .navbar-brand {
    color: black;
}

.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: inherit;
    color: black;
}

section {
    margin-bottom: 30px;
    clear: both;
}

/* gallery */

.gallery-flex-container { /* fallback if no flexbox */
    display: inline;
}

.gallery-flex-item {
    float:left;
}

.desktopImage3Col {
    width: 31%;
    margin-right: 2%;
}

@supports (display: flex) {
    .gallery-flex-container {
        display: -webkit-flex;
        display: flex;
    }

    .gallery-flex-item {
        float: none;
        width: inherit;
        margin-right: inherit;
    }
}

.gallery-flex-container {
    max-width: 100%;
	-ms-flex-align: center;
	-webkit-align-items: center;
	-webkit-box-align: center;
	align-items: center;
    justify-content: space-between;
}

.gallery-flex-item {
    flex-grow: 0;
    text-align: center;
}

.gallery-flex-item img {
    max-width: 100%;
}

.caption {
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 3em;
}

.gallery-flex-container .hasNoCaption {
    margin-bottom: 40px;
}

.pageType_PhotoSection .gallery-flex-item img {
    max-width: 94%;
}

.pageTitle_software .backlinks {
    display: none;
}


a .fader {
    opacity: 1;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
    -webkit-backface-visibility: hidden;
}

a .fader:hover {
   opacity: 0.85;
}

/* blogs */

.pageType_Blog .blogentry {
    padding-bottom: 3em;
}

.pageType_Blog #bodySection h2 {
    margin-bottom: 5px;
    font-size: 2.8rem;
}

.pageType_Blog #bodySection h2 small {
    font-size: 1.5rem;
    text-transform: none;
}

.pageType_Blog iframe {
    max-width: 100%;
}

.regionType_Latest {
    margin-left: 25%;
    margin-top: 10px;
}

.pageType_Blog #bodySection #latestPosts {
    margin-bottom: 1em;
}

.pageType_Blog #bodySection .latestentry h3, .pageType_Blog #bodySection .photoProjectEntry h3 {
    font-size: 2.0rem;
    text-transform: uppercase;
}

.pageType_Blog .latestentry h3 small, .pageType_Blog .photoProjectEntry h3 small {
    font-size: 1.4rem;
    text-transform: none;
}

.pageType_Blog .gallery-flex-container .hasNoCaption {
    margin-bottom: 30px;

}

.pageType_Blog .entryDate {
    padding-right: 7px;
}

.pageType_Blog img {
    max-width: 98%;
}

#previousPage {
    margin-right: 20px;
}

/* body */

.youTubeVideo {
    margin-bottom: 30px;
}

/* footer */

footer {
    margin-top: 80px;
    margin-bottom: 70px;
}

.socialIcons {
    margin-top: -4px;
    float: right;
}

.socialIcons li {
    padding-left: 10px;
    display: inline;
}

/* template specific */

.pageType_PhotoSection .region1 img {
    margin-bottom: 30px;
}

.pageType_PhotoSection .region_region1 .gallery-flex-container:last-of-type img, 
.pageType_TwoColumn .region_region1 img {
    margin-bottom: 40px;
}

.pageType_PhotoSection .region1 .gallery-flex-container {
    justify-content: center;
}

.pageType_PhotoSection .region1 img {
    margin-left: auto;
    margin-right: auto;
}

/* media queries */
@media (min-width: 769px) {
    .regionArea_home1 .gallery-flex-container:nth-child(n+4) {
        display: none;
    }
}

@media (min-width: 1800px) and (max-width: 1920px) { /* img size is 1080 */
    .container {
        width: 65%;
    }
}

@media (max-width: 768px) {

    /* top menu adjustments */

    .navbar-default {
        margin-top: 20px;
    }

    .subheader {
        margin-top: 60px;
    }

    .navbar-nav {
        float: none;
        margin-right: 0;
    }

    .body-content {
        margin-top: 30px;
    }

    .gallery-flex-container {
        display: inline;
    }

    .gallery-flex-item {
        display: inline;
        float:left;
    }

    .mobileImage2Col {
        width: 48%;
        margin-right: 2%;
    }

    .mobileImage3Col {
        width: 31%;
        margin-right: 2%;
    }

    #cboxTitle {
        visibility: hidden;
    }

    .gallery-flex-container:nth-of-type(3n) .gallery-flex-item:nth-of-type(3n) {
        display: none;
    }

    .region1div {
        padding-top: 5px !important;
    }

}

@media (max-width: 1000px) {
    .subheader {
        visibility: hidden;
    }
    
    .regionType_Latest {
        display: none;
    }

    .container {
        width: 90%;
    }

    #bodySection {
        padding-top: 10px;
    }
}


/* override Bootstrap */

@media (min-width: 768px) {
    .container {
        width: 1920px !important;
        max-width: 100% !important;
    }

        .navbar .container, .container footer {
            max-width: 65% !important;
            margin-left: auto;
            margin-right: auto;
        }

    a:focus {
        outline: none !important;
    }
}


/* section widths and background colors */

.pageType_Standard .region_region2 {
    background-color: #3e4135;
    padding-top: 70px;
    padding-bottom: 30px;
}

.pageType_Standard .section_2 {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}


.region_region3 {
    padding-top: 110px;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.section_3 {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.region_region4 {
    background-color: #b1b3a9;
    padding-top: 110px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.section_4 {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.region_region5 {
    padding-top: 50px;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.section_5 {
    max-width: 65%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
}

.workheader {
    font-size: 30px !important;
    padding-top: 42px; /* not ideal */
    padding-left: 5px;
}

.hero-wrapper {
    position: relative;
    width: 100%;
}

#heroText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 5rem;
    text-align: center;
    z-index: 10;
    pointer-events: none; /* optional */
    padding-top: 0.5em;
}


/* adjust navbar positions  - not for mobile */
@media (min-width: 768px) {
    .navbar {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: inherit !important;
        border: none !important;
        margin-top: 0px !important;
        height: 5em;
        padding-top: 0.8em;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .navbar-collapse {
        position: relative;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        background-color: none !important;
    }

        .navbar-collapse ul li:first-of-type {
            position: absolute;
            left: -15px;
        }

        .navbar-collapse ul li:nth-of-type(2) {
            position: absolute;
            left: 4em;
        }

    .row {
        position: relative;
    }

    .pageType_Standard h2 {
        position: absolute;
        left: 18.2%;
        top: 1em;
        z-index: 2;
    }


}

.home-hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
}


@media (max-width: 1080px) {
    .navbar .container, .container footer {
        max-width: 85% !important;
        margin-left: auto;
        margin-right: auto;
    }

    .pageType_Standard .section_2, .section_3, .section_4, .section_5, #blogPage {
        max-width: 85%;
    }

    .pageType_Standard h2 {
        left: 8.9%;
    }
}

/* blog fixes */

.pageType_Blog .region1 {
    padding-top: 5em;
    margin-left: auto;
    margin-right: auto;
}

.pageType_Blog .region1 {
    margin-top: 30px;
}

.pageType_Blog .region2 {
    margin-top: 100px;
}

.pageType_Blog footer {
    clear: both;
}

#blogPage {
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
}

/* videos page */

.pageType_PhotoSection .row {
    max-width: 66%;
    margin-left: auto;
    margin-right: auto;
}

.pageType_PhotoSection h2 {
    font-size: 30px !important;
    text-transform: capitalize !important;
}

.pageType_PhotoSection h3 {
    font-size: 30px !important;
}


@media (max-width: 768px) {
    .gallery-flex-container > :nth-child(n+2) {
        display: none !important;
    }

    .pageType_Standard .section_2, .section_3, .section_4, .section_5, footer {
        max-width: 100%;
    }

    .pageType_Standard footer, .pageType_Blog footer, .pageType_PhotoSection footer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .container, .col-md-12 {
        margin-left: 25px !important;
        margin-right: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    h2, h3 {
        margin-left: 25px;
    }

    .pageType_Standard .region_region2, .pageType_Standard .region_region4 {
        background-color: none !important;
        padding-top: 0px;
        padding-bottom: 10px;
    }

    .region_region3, .region_region4, .region_region5 {
        padding-top: 20px;
    }

    h3, h2, .workheader {
        font-size: 20px !important;
    }

    .workheader { /* fixes */
        margin-top: -120px !important;
        margin-bottom: 30px !important;
        margin-left: 0px !important;
    }

    .navbar-header, .navbar-collapse {
        margin-left: 0px !important;
        width: 110%;
    }

    .pageType_PhotoSection .row {
        max-width: 100%;
    }

    #bodySection h2, #bodySection h3 {
        margin-left: 0px;
    }

    .pageType_PhotoSection iframe {
        max-width: 54% !important;
    }

    #blogPage {
        max-width: 100% !important;
    }

    #blogPage .region2 {
        display:none;
    }
}
