/**
 * Site-specific styles
 */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;700&display=swap');

* {
   -moz-osx-font-smoothing: grayscale;
   -webkit-font-smoothing: antialiased;
}

body {
   color: #000000;
   font-style: normal;
   font-variant: normal;
   font-weight: normal;
   line-height: 1.5;
   font-family: "Nunito", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
   font-weight: 300;
}

#site {
   position: relative;
}

#site-header {
   overflow: auto;
   padding: 1em;
   position: absolute;
   width: 100%;
   z-index: 200;
}

#page {
   overflow: auto;
   padding: 8.971em 1em 1em 1em;
   width: 100%;
   z-index: 100;
}

#site-footer {
   padding: 1em;
}

.site-header-unit, .page-unit, .site-footer-unit {
   width: 100%;
}

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

h1 {
   font-size: 2.618em;
   margin: 0.472em 0;
}

h2 {
   font-size: 1.618em;
   margin: 0.618em 0;
}

h3 {
   font-size: 1.309em;
   margin: 0.764em 0;
}

h4, h5, h6 {
   margin: 1em 0;
}

p {
   margin: 0.618em 0;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, p:last-child {
   margin-bottom: 0;
}

hr {
   height: 1px;
   border-top: 1px solid;
   margin: 0.618em 0;
}

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

pre {
   white-space: pre;
}

a[href], area {
   cursor: pointer;
}

a[href] {
   color: #000;
   text-decoration: underline;
}

a[href]:visited {
   color: #000;
}

a[href]:focus {
   color: #999;
   outline: thin dotted #000;
}

a[href]:hover {
   color: #999;
   outline: none;
}

a[href]:active {
   color: #990000;
   outline: thin dotted #000;
}

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

strong, b {
   font-weight: bold;
}

s, del {
   text-decoration: line-through;
}

abbr[title], dfn[title] {
   border-bottom: 1px dotted;
   cursor: help;
}

sub, sup {
   line-height: 0;
   position: relative;
   font-size: 0.809em;
}

sub {
   top: 0.236em;
}

sup {
   top: -0.382em;
}

u, ins {
   text-decoration: underline;
}

mark {
   background-color: #ffff00;
   padding: 0 0.146em;
}

/**#@+
 * Skip-to-content link
 *
 * Based on W3C WCAG 2.0 advice:
 * @link https://www.w3.org/TR/WCAG20-TECHS/G1.html
 */
 #skip-link {
   left: -1000%;
   position: absolute;
}

#skip-link:focus {
   left: 0;
   z-index: 1000;
}
/**#@-*/

/**#@+
 * Breadcrumb links
 *
 * Based on W3C WAI-ARIA advice:
 * @link https://www.w3.org/TR/wai-aria-practices-1.1/#breadcrumb
 */
.breadcrumb-trail li {
   display: inline;
}

.breadcrumb-trail li + li::before {
   content: "→ ";
}
/**#@-*/

/**#@+
 * Embedded audio and video
 *
 * Flexible/responsive rules for embedding media players.
 *
 * Featured in .net magazine article (issue 234; November 2012; p45) by Darcy Clarke:
 * @link http://www.netmagazine.com/
 * @link http://darcyclarke.me/
 */
.embedded-audio audio, .embedded-audio embed, .embedded-audio iframe, .embedded-audio object {
   width: 100%;
}

.embedded-video {
   height: 0;
   overflow: hidden;
   padding: 56.25% 0 0 0;  /** 16:9 ratio */
   position: relative;
}

.embedded-video embed, .embedded-video iframe, .embedded-video object, .embedded-video video {
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}
/**#@-*/

/**
 * Hidden element
 *
 * Technique for hiding an element (ensuring the content remains visible to assistive technology):
 * @link https://webaim.org/techniques/css/invisiblecontent/
 */
.hidden-element {
   position: absolute;
   height: 1px;
   left: -1000%;
   overflow: hidden;
   top: -1000%;
   width: 1px;
}

/**
 * Hidden content
 *
 * Technique for hiding content within an element (keeping the element in position; ensuring the content remains visible to assistive technology), by Scott Kellum:
 * @link http://www.zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement/
 * @link http://scottkellum.com/
 */
.hidden-content {
   overflow: hidden;
   text-indent: 1000%;
   white-space: nowrap;
}

/**
 * Background grid
 */
.background-grid {
   background-image: url("../images/background-grid.png");
   background-position: 50% 0;
   background-repeat: repeat;
}

/**
 * Custom element focus highlight colour
 */
:focus {
   outline: 0;
   outline-offset: 0;
}

#site-title {
   float: left;
   font-weight: 200;
   margin: -0.16em 0 0 0;
}

#site-title a {
   text-decoration: none;
}

#site-navigation {
   margin: 0 0 0 -0.4em;
}

#site-navigation li {
   display: inline-block;
   margin: 0 0 0 0.5em;
}

#site-navigation li a {
   color: #000;
   text-decoration: none;
}

#site-navigation li a:hover {
   color: #999;
}

.home #page, .single-work #page {
   height: 800px;
   height: 100vh;
   overflow: hidden;
}

.cs_panels_controls {
   height: 100%;
   position: absolute;
   width: 100%;
   z-index: 200;
}

.cs_panels_controls_previous, .cs_panels_controls_next, .cs_panels_controls_play_pause, .cs_panels_index li {
   overflow: hidden;
   text-indent: 1000%;
   white-space: nowrap;
}

.cs_panels_controls_previous, .cs_panels_controls_next, .cs_panels_controls_play_pause {
   background-repeat: no-repeat;
   background-size: 1.618em;
}

.cs_panels_controls_previous, .cs_panels_controls_next {
   height: 100%;
   position: absolute;
   width: 20%;
}

.cs_panels_controls_previous {
   background-image: url('../images/panels/previous.svg');
   background-position: 0 100%;
}

.cs_panels_controls_next {
   background-image: url('../images/panels/next.svg');
   background-position: 100% 100%;
   right: 0;
}

.cs_panels_controls_play_pause {
   bottom: 0;
   background-image: url('../images/panels/play.svg');
   background-position: 100% 100%;
   height: 100%;
   position: absolute;
   right: 2em;
   width: 2em;
}

.cs_panels_playing .cs_panels_controls_play_pause {
   background-image: url('../images/panels/pause.svg');
}

.cs_panels_index {
   left: 20%;
   bottom: 0;
   height: 2em;
   position: absolute;
   right: 20%;
   text-align: center;
   z-index: 300;
}

.cs_panels_index li {
   background-image: url('../images/panels/index.svg');
   background-position: 50% 50%;
   background-repeat: no-repeat;
   display: inline-block;
   height: 2em;
   width: 1em;
}

.cs_panels_index li.cs_panels_current {
   background-image: url('../images/panels/index_current.svg');
}

article, section {
   padding: 0 0 3em 0;
}

.article_title, .section_title {
   font-size: 1.236em;
   margin: 0 0 0.618em 0;
}

article img, section img {
      max-width: 100%;
}

section {
   break-inside: avoid-column;
   page-break-inside: avoid;
}

.work_listing {
   overflow: auto;
}

.work_listing li {
   float: left;
   padding: 2em;
   width: 50%;
}

.work_listing_image {
   height: 0;
   padding: 100% 0 0 0;
}

.work_gallery_container {
   overflow: hidden;
   position: relative;
   height: 100%;
   width: 100%;
}

.work_gallery {
   bottom: 2em;
   position: absolute;
   top: 0;
   width: 100%;
   z-index: 100;
}

.work_gallery li {
   height: 100%;
   opacity: 0;
   padding: 0 0 2.118em 0;
   position: absolute;
   transition: opacity 0.5s;
   width: 100%;
   z-index: 100;
}

.home .work_gallery li {
   padding: 0;
}

.work_gallery li:first-child {
   opacity: 1;
   z-index: 200;
}

.work_gallery_image {
   background-color: #fff;
   height: 100%;
   width: 100%;
}

.work_gallery_image_caption {
   background-color: #fff;
   bottom: 0;
   margin: 0;
   padding: 1em 0 0 0;
   text-align: center;
   width: 100%;
}

.work_gallery h3 {
   display: inline;
   font-size: 1em;
   margin: 0;
}

.work_listing_image, .work_gallery_image {
   background-position: 50% 50%;
   background-repeat: no-repeat;
   background-size: contain;
}

.work_listing_image img, .work_gallery_image img {
   display: none;
}

/**
 * Large screen overrides (>= 768px)
 */
@media screen and (min-width: 768px) {

   #site-header, #site-footer {
      padding: 2em;
   }

   #site-navigation {
      float: right;
      margin: 0.618em 0;
   }

   #page {
      padding: 7.854em 2em 2em 2em;
   }

   .post_listing, .page_content {
      margin: 0 auto;
      width: 50%;
   }

   .page_content {
      column-count: 2;
   }

   .work_listing li {
      float: left;
      width: 25%;
   }

}

/**
 * Small screen overrides (<= 767px)
 */
@media screen and (max-width: 767px) {

   #site-navigation {
      clear: left;
   }

   #site-navigation ul {
      padding: 1em 0;
   }

}

/**
 * High-resolution screen overrides
 */
@media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and (min-resolution: 144dpi), screen and (min-resolution: 144dppx) {



}