﻿/* resets */

body, a {
    background-color: white;
    color: black;
}

li {
    text-decoration: none;
}

img {
    max-width: 100%;
}

a:hover {
    text-decoration: none;
}

/* fonts */

.navbar-brand {
    display: block;
}

.subheader {
    margin-left: 1px;
    clear: both;
}

.caption {
    text-transform: uppercase;
    color: #777;
    font-size: 90%;
}

h2, h3 {
    margin-top: 0;
}

p {
    margin-bottom: 25px;
}

#bodySection h2 {
    padding-bottom: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

#bodySection h3 {
    padding-bottom: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.textBlockCenter {
    margin-left:auto;
    margin-right: auto;
}

.backButton {
    font-size: 16px;
}

/*.top-head, .page .entry-title, .site-footer, .featured-article h2 {
    box-shadow: 2px 3px 9px -2px rgba(0,0,0,0.75);
}*/

.page .entry-title, .site-footer, .featured-article h2 {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

/* top menu adjustments */
.navbar-nav {
    text-transform: uppercase;
}

.navbar-nav {
    margin-right: -26px;
}

.navbar-default {
    background-color: inherit;
    border: none;
    margin-top: 10px;
}

.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: #607096 !important;
}

section {
    margin-bottom: 40px;
    clear: both;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: black;
}

.navbar-toggle {
    border: none;
    border-radius: 0;
}

/* 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;
    padding-right: 10px;
}

.gallery-flex-item img {
    max-width: 100%;
}

.caption {
    margin-top: 15px;
    margin-bottom: 15px;
    min-height: 3em;
}

.gallery-flex-container .hasNoCaption {
    margin-bottom: 40px;
}

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 */

.socialIcons {
    margin-top: -4px;
    float: right;
}

.socialIcons li {
    padding-left: 10px;
    display: inline;
}

#sitelinks {
    display: none;
}

#content .second-nav .active a {
    background-color: grey;
    color: white;
    opacity: 0.9;
    padding: 5px;
}

/* 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;
}

.stocklink {
    background-color: #607096;
    height: 6.5em;
    width: 250px;
    text-align: center;
    padding: 23px 40px;
    font-size: .8em;
    border-radius: 5px;
    max-width: 100%;
}

.stocklink a {
    color: white;
}



/* media queries */

@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: 4px;
    }

    .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;
    }

    .sub-menu {
        display: none !important;
    }

}

@media (max-width: 1500px) {
    .second-nav {
        margin-left: 0px !important;
    }
}


@media (max-width: 1000px) {
    .subheader {
        visibility: hidden;
    }
    
    .regionType_Latest {
        display: none;
    }
}

@media (max-width: 800px) {
    .photobooksTable {
        display: none;
    }
}