/*******************************************************************************
  normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css
*******************************************************************************/

html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

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

figcaption,
figure,
main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

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

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: inherit;
}

b,
strong {
  font-weight: bolder;
}

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

dfn {
  font-style: italic;
}

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

small {
  font-size: 80%;
}

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

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

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

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

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

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

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

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

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

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*******************************************************************************
  Typography & Colors
*******************************************************************************/

body {
  color: rgb(17, 17, 17);
  font-family: 'helvetica neue', sans-serif;
}

a {
  color: rgb(102, 102, 102);
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: rgb(17, 17, 17);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
}

/*******************************************************************************
  Layout
*******************************************************************************/

/**
 * Border box all the things
 */

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/**
 * I have no idea why this is needed
 */

html,
body {
  min-height: 100vh;
}

/**
 * Contain all the things
 */

.site {
  display: flex;
  flex-flow: column nowrap;
  min-height: 100vh;
  /*width: 100%;*/
  max-height: 100%;
  overflow-y: scroll;
  /*overflow-x: hidden;*/
}

.site__secondary {
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  flex-flow: column nowrap;
}

.site__primary {
  flex-grow: 1;
  flex-shrink: 0;
  display: flex;
  flex-flow: column nowrap;
  position: relative;
}

@media (min-width: 768px) {
  .site {
    align-content: stretch;
    align-items: stretch;
    flex-flow: row nowrap;
    justify-content: flex-start;
  }

  .site__secondary {
    padding-left: 2rem;
  }

  .site__primary {
    max-height: 100%;
    overflow-y: scroll;
  }
}

/**
 * Site Control
 */

.site__control {
  display: block;
  font-size: 0.825rem;
  letter-spacing: 0.04rem;
  font-weight: 300;
  line-height: 2rem;
  padding: 0.75rem 20px 0;
  text-align: center;
  text-transform: uppercase;
}

.site__control,
.site__control:hover,
.site__control:active,
.site__control:focus {
  color: #666;
}

@media (min-width: 768px) {
  .site__control {
    display: none;
  }
}

/**
 * Site Masthead
 */

.site__masthead {
  overflow: hidden;
}

.site__masthead__link {
  display: block;
  line-height: 1.75rem;
  padding: 0.625rem 20px;
}

.site__masthead__heading {
  font-size: 1.75rem;
  line-height: 1.75rem;
  margin-bottom: 0;
  margin-top: 0;
  text-align: center;
}

.site__masthead__image {
  display: inline-block;
  height: auto;
  width: 125px;
}

@media (min-width: 768px) {
  .site__masthead {
    padding: 0;
    width: 170px;
    height: 3.5rem;
    min-height: 3.5rem;
  }

  .site__masthead__link {
    padding: 0;
    line-height: 3.5rem;
    height: 3.5rem;
  }

  .site__masthead__heading {
    text-align: left;
    line-height: 3rem;
    height: 3rem;
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
    align-content: flex-start;
  }
}

/**
 * Site Navigation
 */

.site__nav {
  background-color: rgb(102, 102, 102);
  max-height: 0;
  order: -1;
  overflow: hidden;
  padding: 0 20px;
  -webkit-transition: all 0.8s ease-out;
  transition: all 0.8s ease-out;
}

.site__nav.is-expanded {
  max-height: 100%;
}

.site__nav .menu > .menu-item > a {
  display: none;
  margin-bottom: 0;
  margin-top: 0;
}

.site__nav .menu,
.site__nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site__nav a[href="#"] {
  pointer-events: none;
}

.site__nav .sub-menu:not(:first-of-type) {
  padding-top: 0;
  padding-bottom: 1rem;
}

.site__nav .sub-menu > .menu-item {
  line-height: 1.75rem;
}

.site__nav .sub-menu > .menu-item > a {
  color: #fff;
  display: block;
  font-size: 0.875rem;
  line-height: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.site__nav .sub-menu > .menu-item > a:hover,
.site__nav .sub-menu > .menu-item > a:active,
.site__nav .sub-menu > .menu-item > a:focus {
  color: #fff;
}

@media (min-width: 768px) {
  .site__nav {
    background-color: transparent;
    max-height: initial;
    order: 0;
    -webkit-transition: none;
    transition: none;
    width: 170px;
    padding: 0.25rem 0;
    min-height: 14rem;
  }

  .site__nav .menu > .menu-item > a {
    color: #666;
    display: block;
    font-size: 0.825rem;
    font-weight: 300;
    line-height: 0.825rem;
    letter-spacing: 0.04rem;
    text-transform: uppercase;
  }

  .site__nav .sub-menu,
  .site__nav .sub-menu:not(:first-of-type) { /* ugh specificity wars */
    padding: 0.25rem 0 0.875rem 0;
  }

  .site__nav .sub-menu > .menu-item > a {
    color: #666;
    font-size: 0.825rem;
    line-height: 1.25rem;
    text-align: left;
    text-transform: none;
  }

  .site__nav .sub-menu > .menu-item > a:hover,
  .site__nav .sub-menu > .menu-item > a:active,
  .site__nav .sub-menu > .menu-item > a:focus {
    color: #111;
  }
}

/**
 * Site Main Content Area
 */

/* Slideshow View */
/*.slideshow {
  bottom: 10px;
  left: 20px;
  overflow: hidden;
  position: absolute;
  right: 20px;
  top: 0;
}

.slideshow .slide {
  max-height: 100%;
  max-width: 100%;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  transition: opacity 1s ease-in;
  z-index: 1;
}

.slideshow .slide.is-active {
  opacity: 1;
  z-index: 2;
}

.slideshow .slide__link {
  display: block;
  height: 100%;
  max-width: 100%;
}

.slideshow .slide__image {
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

.slideshow .slide__caption {
  display: none;
  margin: 0;
}

@media (min-width: 768px) {
  .slideshow {
    bottom: 20px;
    left: 0;
    right: 35px;
    top: 69px; /* optically align with top nav item */
/*  }

  .slideshow .slide__image {
    object-position: 0 0;
    margin: 0;
  }
}*/



/* Project View */
.project {

}




/* HORRIBLE HACKS TO MAKE THE SITE FUNCTIONAL */

#container {
  flex: 1 0 auto;
  overflow-y: visible;
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
}

#content {
  flex: 1 0 auto;
  display: flex;
  flex-flow: column nowrap;
  padding: 1rem 20px;
}

@media (min-width: 768px) {
  #container {
    max-width: 100%;
    max-height: 100vh;
    overflow-y: scroll;
  }

  #content {
    max-width: calc(100vw - 222px);
    padding: 1rem 2rem 2rem 0;;
  }

  .blog .inner-content {
    max-width: 800px;
  }
}

.page {
  flex: 1 0 auto;
  display: flex;
  flex-flow: column nowrap;
}

.entry-content {
  flex: 1 0 auto;
  overflow: visible;
  display: flex;
  flex-flow: column nowrap;
}

/* Slideshow stuff */

.slideshow {
  flex: 1 0 auto;
  position: relative;
  overflow: auto;
}

.slideshow .next {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.slideshow .next.not-first {
  display: none;
}

.slideshow .next a {
  display: block;
  margin: 0 auto;
  height: 100%;
}

div.entry-content div.slideshow img,
div.entry-content div.thumbs img {
  border: 0px solid #FFFFFF;
  display: block;
  margin: 0 auto;
  vertical-align: top;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: 50% 50%;
}

@media (min-width: 768px) {
  .home .slideshow {
    margin: 44px 0 0 0;
  }

  div.portfolio-slideshow {
    width: calc(100vw - 250px) !important;
    max-width: 107vh;
  }

  .slideshow .next a {
    margin: 0;
  }

  div.entry-content div.slideshow img,
  div.entry-content div.thumbs img {
    margin: 0 !important;
  }
}

.slideshow-nav > a.slideshow-next,
.slideshow-nav > a.slideshow-prev {
  display: none;
}

@media (min-width: 768px) {
  div.slideshow-content {
    max-width: calc(100vw - 250px);
  }

  .slideshow-nav > a.slideshow-next,
  .slideshow-nav > a.slideshow-prev {
    display: block;
  }
}

/*.portfolio-slideshow div.slideshow-next a.slideshow-next,
.portfolio-slideshow div.slideshow-next a.slideshow-prev,
.portfolio-slideshow div.slideshow-next a.slideshow-exit {
  display: none;
}*/ 

@media (min-width: 1024px) {
  .portfolio-slideshow div.slideshow-next a.slideshow-next {
    position: absolute;
    top: 0;
    right: 0;
    width: 33.33%;
    height: calc(100% - 36px);
    display: block;
    cursor: url(../images/cursor-next.png), auto;
  }

  .portfolio-slideshow div.slideshow-next a.slideshow-prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.33%;
    height: calc(100% - 36px);
    display: block;
    cursor: url(../images/cursor-prev.png), auto;
  }

  .portfolio-slideshow div.slideshow-next a.slideshow-exit {
    position: absolute;
    top: 0;
    left: 33.33%;
    width: 33.33%;
    height: calc(100% - 36px);
    display: block;
    cursor: url(../images/thumb.png), auto;
  }

/*  .portfolio-slideshow div.slideshow-next a.slideshow-next:hover:after {
    content: '\232a';
    text-align: center;
    font-size: 1.5em;
    color: white;
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    right: 20px;
    text-shadow:
     -1px -1px 0 rgb(175, 175, 175),  
      1px -1px 0 rgb(175, 175, 175),
      -1px 1px 0 rgb(175, 175, 175),
       1px 1px 0 rgb(175, 175, 175);
  }

  .portfolio-slideshow div.slideshow-next a.slideshow-next:hover:before {
    content: '\2329';
    text-align: center;
    font-size: 1.5em;
    color: white;
    width: 20px;
    height: 20px;
    position: absolute;
    top: calc(50% - 10px);
    left: 20px;
    text-shadow:
     -1px -1px 0 rgb(175, 175, 175),  
      1px -1px 0 rgb(175, 175, 175),
      -1px 1px 0 rgb(175, 175, 175),
       1px 1px 0 rgb(175, 175, 175);
  }*/
}

/* Page Title stuff */

.entry-title {
  font-size: 0.8125rem;
  color: #666;
  line-height: 1rem;
  height: 2.75rem;
  padding: 0.8125rem 0 0 0;
  margin: 0;
}

.entry-title a {
  display: inline-block;
  margin-left: 1rem;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:active,
.entry-title a:focus {
  color: #444;
}

.blog .entry-title a {
  margin-left: 0;
  color: #666;
}

.blog .entry-date .published {
  border-bottom: 0;
  text-decoration: none;
  color: #666;
  font-size: 12px;
}

/* Carousel Stuff */

.pscarousel {
  width: 100% !important; /* override plugin css */
}

.pager.items {
  width: 100% !important;
}

.pager.items span {
  display: block;
  padding-bottom: 1rem;
}

.pager.items img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .pager.items {
    display: flex;
    flex-flow: row wrap;
  }

  .pager.items span {
    flex: 0 1 auto;
    width: 50%;
    padding-bottom: 10px;
    padding-right: 10px;
  }

  .pager.items img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: 50% 50%;
  }
}

@media (min-width: 1024px) {
  .pager.items span {
    width: 33.33%;
  }
}

@media (min-width: 1600px) {
  .pager.items span {
    width: 25%;
  }
}

/* Artist Statement stuff */

.entry-content .inner-content {
  max-width: 800px;
  position: relative;
  top: -4px;
}

.entry-content .inner-content p {
  color: #666;
  font-size: 0.8125rem;
  line-height: 1.384rem;
  text-shadow: #fff 0 0 1px;
  margin: 0 0 1rem 0;
}

/* Gallery Stuff */

.pager.items img {

}

.slideshow-caption {
  line-height: 1.5em;
  text-shadow: #fff 0 0 1px;
  font-size: 12px;
  color: #666;
}

/* Search stuff */

.search {
  display: none;
  margin: 21px auto 26px;
  max-width: 1600px;
  padding: 0 1%;
  width: 98%;
}

.search label {
  display: none;
}

#s {
  display: block;
  float: left;
  width: 100%;
}

#searchform > div {
  width: 265px;
}

.blog .search {
  display: block;
}

.search {
  float: left;
}

.category .search {
  display: block;
  max-width: 800px !important;
}

.archive .search {
  display: block;
  max-width: 800px;
}

.single .search {
  display: block;
  max-width: 800px;
}

#searchsubmit {
  float: left !important;
}

#searchform > div {
  width: 90%;
}

#content .search {
  display: none;
}

.blog #content .search,
.search-results #content .search,
.search-no-results #content .search {
  display: block;
  margin: 0 0 9px !important;
  padding: 0;
  width: 250px;
}

#content .search input {
  border: 1px solid #ADADAD !important;
  float: right;
  height: 21px;
  margin: 0;
  width: 100px !important;
  font-size: 12px;
}

#searchsubmit {
  float: left !important;
  margin: 0 !important;
}

.blog #content .search,
.search-results #content .search,
.search-no-results #content .search {
  margin: 20px 0 0px !important;
  padding-bottom: 20px;
}

@media (min-width: 768px) {
  .blog #content .search,
  .search-results #content .search,
  .search-no-results #content .search {
    margin: 6px 0 -10px !important;
  }

  .search-no-results #content .search-no-results {
    margin: -7px 0 20px !important;
  }
}


/* Blog stuff */

.blog .entry-content > p {
  font-size: 12px;
  line-height: 18px;
  color: #666;
}
