﻿/* resets */

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%;
}

.pageTitle_projects img {
    border: 1px #ccc solid;
    border-radius: 7px;
}

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;
    border: none;
    margin-top: 84px;
}

.navbar-brand {
    text-transform: uppercase;
}

.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;
}

.body-content {
    margin-top: 90px;
}

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;
}

.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.1rem;
    text-transform: none;
}

.pageType_Blog .gallery-flex-container .hasNoCaption {
    margin-bottom: 30px;

}

.pageType_Blog img {
    max-width: 98%;
}

#previousPage {
    margin-right: 20px;
}

/* colorbox lightbox */

#cboxCurrent, #colorbox button {
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    color: #888;
    font-size: 1.3rem;
}

.cboxPhoto {
    padding-bottom : 10px;
}

#cboxNext {
    left: 50px;
}

/* 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;
}

#sitelinks {
    display: none;
}

/* 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;
}

.pageTitle_street img {
    width: 600px;
}

.pageTitle_street small, .pageTitle_people small {
    display: none;
}

.pageTitle_street .photoProjectEntry small, .pageTitle_people .photoProjectEntry small {
    display: inherit;
}

.pageTitle_about .regionArea_about3 img {
    float: left;
}

.pageTitle_about .section_5 img {
    margin-bottom: 10px;
}

#journaliframe {
    height: 7500px;
}

/* 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;
    }
}

@media (max-width: 1200px) {
    #journaliframe {
        height: 5500px;
    }


}