/*
Theme Name: Crosby
Theme URI: http://www.greengraphics.com.au
Author: Step
Author URI: http://www.greengraphics.com.au
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ggstyle
Tags:
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
    ## Links
    ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
    ## Posts and pages
    ## Asides
    ## Comments
# Infinite scroll
# Media
    ## Captions
    ## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust:     100%;
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

:focus,
:active {
    outline: none;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    display: block;
    max-width: 100%;
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    -webkit-box-sizing: content-box;
            box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: omnes-pro, sans-serif;
    font-weight: 500;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    /* color: #B2AEA6; */
    line-height: 1.2;
}

p {
    margin: 0 0 1.5em;
}

dfn,
cite,
em,
i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code,
kbd,
tt,
var {
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr,
acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark,
ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */

}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 0;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1.5em;
}

img {
    height: auto; /* Make sure images are scaled correctly. */
    max-width: 100%; /* Adhere to container width. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

.spacer {
	height: 1px;
	background: black;
	margin: 1.5em auto;
	width: 80%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    background: #e6e6e6;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, .8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
    border-color: #aaa #bbb #bbb;
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
            box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
            border-radius: 3px;
}

select {
    border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
    padding: 3px;
}

textarea {
    padding-left: 3px;
    width: 100%;
}

.entry-content .gform_wrapper {
    max-width: 600px;
}

.entry-content .gform_wrapper .top_label input.medium, 
.entry-content .gform_wrapper .top_label select.medium {
    width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: #a3865e;
    text-decoration: none;
}


a:hover,
a:focus,
a:active {
    color: #b3afa7;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
    display: block;
    float: right;
    position: relative;
    text-align: center;
    z-index: 9999;
}

.main-navigation .menu {
    margin: 0 auto;
    max-width: 1000px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    display: inline-block;
    /* position: relative; */
}

.main-navigation a {
    border-bottom: 2px solid transparent;
    color: white;
    display: block;
    /* font-family: 'Arial Rounded', Helvetica, sans-serif; */
    margin: 0 12px;
    padding: 16px 0 14px;
    text-decoration: none;
    text-transform: uppercase;
}

.main-navigation ul ul {
    /* -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
    /* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
    /* float: left; */
    position: absolute;
    top: 1.5em;
    left: -999em;
    z-index: 99999;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
    border-bottom: 2px solid white;
}

.main-navigation ul ul :hover > a,
.main-navigation ul ul .focus > a {
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a.focus {
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
    border-bottom: 2px solid white;    
}

.nav-header {
    display: block;
    padding: 16px;
    position: relative;
}
.nav-logo {
    margin: 0 auto;
    max-width: 80%;
}
.nav-close {
    color: white;
    cursor: pointer;
    position: absolute;
    top: 8px; right: 8px;
    height: 20px;
    width: 20px;
}

.nav-header {
    display: none;
    padding: 16px;
    position: relative;
}
.nav-logo {
    margin: 0 auto;
    max-width: 80%;
}
.nav-close {
    color: white;
    cursor: pointer;
    position: absolute;
    top: 8px; right: 8px;
    height: 20px;
    width: 20px;
}

/* Small menu. */
.menu-toggle {
    -webkit-backface-visibility: visible !important;
    -webkit-transition: opacity 700ms linear 0ms;
    transition: opacity 700ms linear 0ms;

    background-color: transparent;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: block;
    float: right;
    font-size: 23px;
    font: inherit;
    height: 30px;
    margin: 0;
    opacity: 0;
    overflow: visible;
    padding: 0;
    text-shadow: none;
}
.menu-toggle:hover {
    -webkit-box-shadow: none;
            box-shadow: none;
}

.menu-toggle span {
  transition: -webkit-transform 200ms cubic-bezier(0.63, 0.62, 0.48, 1.64);
  -webkit-transition: -webkit-transform 200ms cubic-bezier(0.63, 0.62, 0.48, 1.64);
  transition: transform 200ms cubic-bezier(0.63, 0.62, 0.48, 1.64);
  transition: transform 200ms cubic-bezier(0.63, 0.62, 0.48, 1.64), -webkit-transform 200ms cubic-bezier(0.63, 0.62, 0.48, 1.64);
  background: black;
  display: block;
  width: 30px;
  height: 3px;
}

.menu-toggle.toggled .top,
.menu-toggle.menu-close .top {
  -webkit-transform: rotateZ(45deg) translateX(5px) translateY(5px) !important;
          transform: rotateZ(45deg) translateX(5px) translateY(5px) !important;
}

.menu-toggle.toggled .bottom,
.menu-toggle.menu-close .bottom {
  -webkit-transform: rotateZ(-45deg) translateX(5px) translateY(-5px) !important;
          transform: rotateZ(-45deg) translateX(5px) translateY(-5px) !important;
}

.menu-toggle.toggled .meat,
.menu-toggle.menu-close .meat {
  opacity: 0;
}

.menu-toggle .top, .menu-toggle .meat {
  margin-bottom: 4px;
}

.menu-toggle .meat {
  -webkit-transition: opacity 300ms ease-in-out 0ms;
  transition: opacity 300ms ease-in-out 0ms;
}

.menu-toggle {
  opacity: 1;
  -webkit-transform: translateZ(1px);
          transform: translateZ(1px);
}

.menu-toggle:hover .top {
  -webkit-transform: rotateZ(0deg) translateX(0px) translateY(-3px);
          transform: rotateZ(0deg) translateX(0px) translateY(-3px);
}

.menu-toggle:hover .bottom {
  -webkit-transform: rotateZ(0deg) translateX(0px) translateY(3px);
          transform: rotateZ(0deg) translateX(0px) translateY(3px);
}


.main-navigation.toggled ul {
    display: block;
}

@media (min-width: 800px) {
    .menu-toggle,
    .nav-header {
        display: none;
    }
}


.menu-close {
    margin: 16px 0 0 auto;
    position: static;
    float: none;
}


.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

a.searchtop {max-width: 28px;position: absolute;top: 1rem;right: 1rem;}
.searchtop svg {
    width: 100%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    -webkit-border-radius: 3px;
            border-radius: 3px;
    -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
            box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,

.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.page-content {
    margin: 1rem 0;
}
.page-content:empty,
.page-template-template-sub_pages .page-content {
	margin: 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
    display: none;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
# Custom CSS
--------------------------------------------------------------*/
.hidden {
    display: none !important;
}

.icon-logo .a {
    fill: black;
}

.search-icon {
    /* width: 32px;
    height: auto; */
}

.container {
    margin:  0 auto;
    max-width: 1440px;
    position: relative;
}
.container:before, .container:after {clear: both; content: ''; display: table;}

.site-header {
    background: #fff;
    color: #5d5d5d;
    width: 100%;
    margin:  0 auto;
    max-width: 1440px;
    position: relative;
    padding: 0 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    max-width: 350px;
}

.site-title a,
.site-title img {
    display: block;
}



.gridBoxes {
    border-top: 1px solid white;
    border-left: 1px solid white;
    display: flex;
    margin: 0;
    overflow: hidden;
    width: 100%;
    align-items: flex-start;
    flex-flow: row wrap; 
}
.home .gridBoxes {
    align-items: inherit;
}


.box {
    width: 16.667%;
}
.box-project {
    background: white;
    width: 33.334%;
}
.box-featured {
    background: white;
    width: 50%;
}
.box-cats {
    background: #B2AEA6;
    position: relative;  
}
.box-quotes {
    background: black;
    color: white;
    position: relative;
}

.box-quotes blockquote {
    font-size: 12px;
    font-style: italic;
    margin: 0;
    padding: 12px;
    position: absolute;
    top: 50%; left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 100%;
}

.box-quotes blockquote footer {
    display: block;
    font-style: normal;
    font-weight: 700;
    margin-top: 8px;
}

.box h2:not(.box-title) {
    color: white;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.box li,
.box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.box a {
    color: #4f4f4f;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}
.box a:hover {
    color: black;
}

.box ul li a {
    display: block;
    margin: 0 0 8px;
}


.box-inner {
    /* border-right: 1px solid white; */
    /* border-bottom: 1px solid white; */
    /* max-height: 241px; */
    overflow: hidden;
    position: relative;
}
.box-project .box-inner {
    max-height: 482px;
}
.box-cats .box-inner {
    height: 50%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
.box-cats .box-quotes,
.box-cats .box-news-list {
    top: 50%;
}




.overflow {
    /* height: 100%; */
    overflow: auto;
    position: relative;
}

.overflow-inner {
    padding: 12px;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
}

.overflow-title {
    color: white;
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
    text-transform: uppercase;
}
.box-news-list .overflow-title,
.box-news-list .overflow-title a,
.box-news-list .overflow-title a:hover {
    color: #B2AEA6;
}
.overflow-title a {
    color: white;
    font-size: 24px;
    font-weight: 500;    
}
.overflow-title a:hover {
    color: inherit;
}

.box-link {
    display: flex;
    background-color: black;
    height: 100%;
    align-items: center;
}

.box-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.box-title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    margin: 0;
    transform: translate(-50%,-50%);
    color: white;
    text-align: center;
    text-transform: capitalize;
    font-weight: 500;
    font-size: 1.75em;
}

@media (min-width:768px) {
    .box-link {
        background-color: white;
    }
    .box-img {
        opacity: 1;
    }
    .box-title {
        color: black;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .box-inner:hover .box-img {
        opacity: 0.125;
    }
    .box-inner:hover .box-title {
        opacity: 1;
    }
	
	body.category-news .box-inner {
		box-shadow: 0 0 0 rgba(0,0,0,0.5);
		transition: all 0.6s ease;
	}
	body.category-news .box-inner:hover {
		box-shadow: 0 0 12px rgba(0,0,0,0.5);
	}
	body.category-news .box-title {
		opacity: 1;
		width: 80%;
		transition: color 0.9s ease;
	}
	body.category-news .box-inner:hover .box-title {
		color: white;
	}
	body.category-news  .box-title span {
		background-color: rgba(0,0,0,0);
		transition: background 0.6s ease;
	}
	body.category-news .box-inner:hover .box-title span {
		background-color: rgba(0,0,0,0.5);
	}
	body.category-news .box-img {
		opacity: .25;
		transform: scale(1);
		transition: opacity 0.6s ease, transform 1.5s ease;
	}
	body.category-news .box-inner:hover .box-img {
		transform: scale(1.075);
		opacity: 1;
	}
}

.box-title-overlay {
    background: rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 19px;
    font-weight: 500;
    max-width: none;
    opacity: 0;
    padding: 16px;
    text-shadow: 1px 1px 0px black;
    top: 0; right: 0; bottom: 0; left: 0;
    text-align: center;
    -webkit-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
    width: 100%;
}
.box-inner:hover .box-title-overlay {
    background: rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: none;
            box-shadow: none;
    opacity: 1;
}

.box-title-overlay span {
    display: block;
    position: absolute;
    top: 50%; right: 16px; left: 16px;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}


/* Box News */
.box-news {
    background: #F6F5F2;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    width: 100%;
}

.box-news-list {
    background: #F6F5F2;    
}

.box-news .box-inner {
    width: 16.667%;
}

.box-archive {
    display: flex;
    flex-flow: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.box-archive .box-inner {
    width: 100%;
    margin-bottom: 2vw;
}

@media (min-width: 767px) {
    .box-archive {
        margin-right: -2vw;
        width: calc(100% + 2vw);
    }
    .box-archive .box-inner {
        margin-right: 2vw;
        width: calc(50% - 2vw);
    }
	
	body.category-news .box-archive .box-inner,
	body.category-reseach .box-archive .box-inner,
	body.category-unbuilt .box-archive .box-inner {
		width: calc(25% - 2vw);
	}
}

.page-header {
    background: #B2AEA6;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    height: 100px;
    position: relative;
    width: 100%;
    margin-bottom: 2vw;
}

.page-header h1.page-title {font-size: 1.5em;}

.page-title {
    color: white;
    margin: 0;
    padding: 0 8px;
    position: absolute;
    top: 50%; left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;    
    text-transform: uppercase;
    width: 100%;
    word-break: break-all;
}

.posted-on,
.byline,
.cat-links,
.tags-links,
.edit-link {
    /* display: inline-block; */
    margin-right: 6px;
}



.entry-left {
    float: left;
    padding-right: 16px;
    width: 50%;
}
.entry-right {
    float: right;
    padding-left: 16px;
    width: 50%;
}

.grid {
    border-top: 1px dashed #B2AEA6;
    margin: 32px 0 0;
    padding: 32px 0 0;
}

.grid-item {
    display: none;
    padding: 5px;
    width: 33.33%;
}

.grid-img {
    width: 100%;
}

.show {}

.show-box {
    margin-bottom: 8px;
}
.boxwrap {margin-bottom: 16px;}


.show-title, a.linkies {
    background: #f1f1f2;
    color: black;
    cursor: pointer;
    margin: 0;
    padding: 8px 16px;
    position: relative;
}

a.linkies {
    display:inline-block;
    margin: 0 20px 20px 0; 
    padding: 10px 20px;
    text-decoration: none;
    background: #f1f1f2;
    color: black;
}


a.linkies:hover {
    background: #b2aea6; 
    color: #ffffff;
}
    
.show-title:after {
    content: 'v';
    display: block;
    position: absolute;
    top: 8px; right: 16px;
}
.active .show-title:after {
    content: 'x';
}

.show-list {
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 16px;
}

.show-sub-box {}

.show-sub-box p:last-child {
    margin-bottom: 0;
}


.pagination {
    margin: 0 auto;
    max-width: 1100px;
    padding: 32px 0;
    text-align: center;
}

.category-projects .pagination {display:none;}

.page-numbers {
    background: #B2AEA6;
    border-radius: 4px;
    color: white;
    display: inline-block;
    margin: 0 2px;
    padding: 2px 12px;
    transition: color 0.3s ease-in-out, background 0.3s ease-in-out;
}
.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
    background: #efefef;
    color: black;
}


.site-footer {
    border-top: 2px solid #B2AEA6;
    color: #B2AEA6;
    font-size: 13px;
    margin-top: 32px;
    padding: 1rem;
}

.site-footer a {
    color: #B2AEA6;
    font-size: 13px;
    text-decoration: none;
}

.site-info {
    float: left;
}

.site-by {
    float: right;
}


.pum-content iframe {width: 100%; height: 800px;}


/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media screen and (max-width: 1504px) {
    .container {
        max-width: none;
        padding: 0 32px;
    }
}

@media screen and (max-width: 1024px) {
    .home .site-content .container,
    .archive .site-content .container,
    .page-template-template-category .site-content .container {
        padding: 0;
    }

    .gridBoxes {
        margin-top: 0;
    }

    .box-project {
        -ms-flex-order: 1;
            -webkit-order: 1;
    -webkit-box-ordinal-group: 2;
                order: 1;
        width: 50%;
    }
    .box-featured {
        display: flex;        
        order: 3;
        width: 100%;
    }
    .box-cats {
        order: 2;
        width: 50%;
    }
    .box-news {
        -ms-flex-flow: wrap;
            -webkit-flex-flow: wrap;
                flex-flow: wrap;
        -ms-flex-order: 5;
            -webkit-order: 5;
                -webkit-box-ordinal-group: 6;
                order: 5;
        width: 100%;
    }

    .box-quotes {
        display: none; /* JS will show this when loaded to it doesn't flash */
        -ms-flex-order: 4;
            -webkit-order: 4;
                -webkit-box-ordinal-group: 5;
                order: 4;
    }

    .box-featured .box-inner {
        width: 75%;
    }
    .box-featured .box-inner:nth-child(2) {
        display: none;
    }
    .box-featured .box-quotes {
        width: 25%;
    }

    .box-news .box-inner {
        width: 25%;
    }
    .box-news .box-inner:last-child {
        display: none;
    }

    .overflow-inner ul {
        display: none;
    }

    .overflow-title {
        margin: 0;
        text-align: center;
        position: absolute;
        top: 50%;
        right: 0;
        left: 0;
        -webkit-transform: translateY(-50%);
                transform: translateY(-50%);
    }    
}

@media screen and (max-width: 768px) {
    .box-project {
        width: 66.667%;
    }
    .box-featured {
        display: block;
    }
    .box-cats {
        width: 33.33%;
    }
    .box-news {
        -ms-flex-flow: wrap;
            -webkit-flex-flow: wrap;
                flex-flow: wrap;
        -ms-flex-order: 4;
            -webkit-order: 4;
                -webkit-box-ordinal-group: 5;
                order: 4;
        width: 100%;
    }

    .box-featured .box-inner {
        width: 100%;
    }
    .box-featured .box-inner:nth-child(2) {
        display: block;
    }

    .entry-left,
    .entry-right {
        float: none;
        margin-bottom: 16px;
        padding: 0;
        width: auto;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding: 0 16px;
    }

    .site-branding {
        max-width: 80%;
        padding-right: 0;
    }
}

@media screen and (max-width: 540px) {
    .box-project,
    .box-featured,
    .box-cats,
    .box-news {
        width: 100%;
    }

    .box-cats .box-inner {
        height: 100px;
        position: relative;
    }
    .box-news .box-inner {
        -ms-flex-order: 2;
            -webkit-order: 2;
                -webkit-box-ordinal-group: 3;
                order: 2;
        width: 50%;
    }
    .box-news .box-quotes {
        -ms-flex-order: 1;
            -webkit-order: 1;
                -webkit-box-ordinal-group: 2;
                order: 1;
        height: 240px;
    } 
}

@media screen and (max-width: 460px) {
    .main-navigation {
        position: absolute;
        top: 0; right: 16px;
    }

    .page-header {
        height: 120px;
        position: relative;
        width: 100%;
    }
    .box-archive .box-inner:first-child {
        /* margin-left: 0; */
    }
}

@media screen  and (max-width: 420px) {
    .box-featured .box-img {
        max-width: none;
    }
    .box-news .box-inner {
        width: 100%;
    }
    .box-news .box-img {
        width: 100%;
    }
    .box-quotes {
        height: auto;
    }
    .box-quotes blockquote {
        padding: 32px;
        position: static;
        -webkit-transform: none;
                transform: none;
    }
}

body.home #page {
    display: flex;
    flex-flow: column;
    height: 100vh;
}
body.home.admin-bar #page {
    height: calc( 100vh - 32px );
}

body.home .site-main {
    flex: 1 auto;
    position: relative;
}

body.home .site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    color: white;
    border: none;
}

body.home .site-footer a {
    color: white;
    border-bottom: 1px dashed white;
}

.site-main {
    width: 100%;
}


.site-header .main-navigation {
    /* max-height: 0px;
    will-change: height;
    overflow: hidden;
    width: 100%; */
    
    transition: right 0.667s ease;
    width: 100%;
    max-width: 300px;
    position: fixed;
    top: 0;
    right: -300px;
    bottom: 0;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 0 1em rgb(0 0 0 / 15%);
    padding: 0 2rem;
}

.main-navigation.toggled {
    right: 0;
}


.main-navigation .menu {
    max-width: none;
    margin: 1rem 0;
    text-align: left;
    position: relative;
}


@media ( min-width: 800px ) {
    .site-header .main-navigation {
        position: static;
        box-shadow: none;
        max-width: none;
        width: auto;
    }

    .site-header .main-navigation .menu {
        display: flex;
    }

    .main-navigation .menu li {
        margin-left: 1rem;
    }
}

.main-navigation li {
    display: block;
}

.main-navigation ul li:hover > ul {
    left: 100%;
    top: 0;
    bottom: 0;
}

.main-navigation a {
    border: none;
    margin: 0;
    padding: 0;
    color: inherit;
    transition: color 0.3s ease;
    font-weight: bold;
    text-transform: capitalize;
}

.main-navigation .current_page_item > a, 
.main-navigation .current-menu-item > a, 
.main-navigation .current_page_ancestor > a, 
.main-navigation .current-menu-ancestor > a,
.main-navigation li:hover > a, 
.main-navigation li.focus > a {
    border: none;
    color: black;
}

.slider {
    margin: 0 0 1rem;
}

.slide {
    display: none;
}

article.post::before,
article.post::after {
    content: '';
    display: table;
    clear: both;
}

@media (min-width: 768px) {
    .page-content {
        float: right;
        width: 50%;
        width: calc( 50% - 1vw);
    }
    body:not(.home) .slider {
        float: left;
        clear: left;
        width: 50%;
        width: calc( 50% - 1vw);
    }
}

body.home .site-main .slider {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
    margin: 0;
}

body.home .slick-list,
body.home .slick-track {
    height: 100%;
}

body.home .site-main .slider .slide {
}


body.home .slider .slide img {
    object-fit: cover;
    max-width: none;
    height: 100%;
    width: 100%;
}

body.home .slider .slick-arrow {
    display: none !important;
}

/* Instagram Feed */
.sb_instagram_header {
	margin: 2rem 0;
	padding: 0;
}
#sb_instagram #sbi_images {
	padding: 0;
}
#sb_instagram #sbi_images .sbi_item {
	padding: 0 25.5px 25.5px 0 !important;
}
