*, *:after, *:before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
  	-moz-osx-font-smoothing: grayscale;
  	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

.loader {
    position: relative;
    width: 70px;
    height: 1px;
    background: white;
    overflow: hidden;
}

.loader:after {
    display: block;
    content: " ";
    position: absolute;
    width: 120%;
    height: 100%;
    background: black;
    left: 0;
    transform: translate3d(-150%, 0, 0);
    animation: loader-stripe 1.5s infinite linear;
}

@keyframes loader-stripe {
    0% {
        transform: translate3d(-150%, 0, 0);
    }
    100% {
        transform: translate3d(100%, 0, 0);
    }
}

body {
    cursor: url('../images/cursor_default.svg') 12 12, pointer;
    font-size: 18px;
}

a {
    text-decoration: none;
    color: black;
    cursor: url('../images/cursor_link.svg') 12 6, pointer;
}

.info p {
    margin-bottom: 16px;
}

[style*="text-decoration: underline"] {
    text-decoration: none !important;
    border-bottom: 1px solid;
}

main a:not([class]):not([id]) {
    position: relative;
    z-index: 2;
}

/*main a:not([class]):not([id]):after {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: lightgray;
    z-index: -1;
}*/

main a:not([class]):not([id]) {
    text-decoration: none;
    background-image: linear-gradient(black, black), linear-gradient(lightgray, lightgray);;
    background-position: 0px 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px, 100% 1px;
    transition: background-size .5s;
}

.wp-is-not-mobile main a:not([class]):not(id):hover {
    background-size: 100% 1px, 100% 1px;
}


/*main a:not([class]):not([id]) span:before {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: black;
    visibility: hidden;
    -moz-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -o-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -webkit-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    z-index: 2;
}

.wp-is-not-mobile main a:not([class]):not(id):hover span:before {
    visibility: visible;
    width: 100%;
}*/

.error404 main {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a span {
    position: relative;
    z-index: 2;
}

footer a.currently-viewed span {
    text-decoration: none;
    background-image: linear-gradient(black, black), linear-gradient(lightgray, lightgray);;
    background-position: 0px 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px, 100% 1px;
    transition: background-size .5s;
}

/*footer a.currently-viewed span:after {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: lightgray;
    z-index: -1;
}*/

footer a span:before {
    background-color: black !important;
}

footer a span:hover {
    background-size: 100% 1px, 100% 1px;
}

/*footer a span:hover:before {
    visibility: visible;
    width: 100%;
}*/

html, body {
    height: 100%;
    margin-top: 0px;
}

@font-face {
  font-family: "Arial Narrow";
  src: url("../fonts/arialn-webfont.woff"),
       url("../fonts/arialn-webfont.ttf"),
       url("../fonts/arialn-webfont.eot");
}

@font-face {
    font-family: "PixelOperator";
    src: url("../fonts/PixelOperator.woff"),
    url("../fonts/PixelOperator.ttf"),
    url("../fonts/PixelOperator.eot");
    font-weight: normal;
}

body {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    font-family: 'Arial Narrow';
}

main, footer {
    padding: 10px 30px 30px 30px;
    grid-template-areas: "side side side content content content";
    grid-template-columns: 16% 16% 18% 17% 17% 16%;
    display: grid;
    position: relative;
    flex: 1 0 auto;
}

.page-template main {
    padding: 20px 30px 20px 30px;
}

.home main {
    flex: 0 0 auto;
    padding: 30px;
}

.page-template-news main {
    padding: 25px 30px 30px 30px;
}

.page-template-info main, .page-template-news main {
    flex: unset;
    min-height: 0;
    height: 100%;
}

.page-template-news .side {
    overflow-y: scroll;
    max-height: 100%;
}

.page-template .content {
    overflow-y: scroll;
    max-height: 100%;
    margin-right: -5px;
}

.single-publications .content {
    grid-column: 1 / span 6;
}

.single-commissions .content {
    grid-column: 1 / span 6;
}

.single-publications footer .nav-secondary-level {
    grid-column: 3 / span 6;
}

.single-publications .content > div:not(.wide-container), .single-publications .content > p {
    padding-left: 32%;
}

.single-commissions .content > div:not(.content-image-container), .single-commissions .content > p {
    padding-left: 67%;
}

.single-commissions .content > .content-image-container {
    padding-right: 35%;
}

.single-works .content, .single-works footer .nav-secondary-level {
    grid-column: 2 / span 4;
}

.footer-side {
    grid-area: side;
}

.single-works .footer-side {
    grid-column: 1 / span 1;
}

.single-publications .footer-side {
    grid-column: 1 / span 2;
}

.single-commissions .footer-side {
    grid-column: 1 / span 4;
}

.single-commissions .nav-secondary-level {
    grid-column: 5 / span 6;
}

.single-commissions .image-numbering {
    text-align: left;
}

.page-template-info .content {
    padding-right: 120px;
}

.content {
    flex: 1 0;
    line-height: 23px;
    grid-area: content;
}

#old-browser-notice {
    padding: 30px;
    line-height: 23px;
    display: none;
}

#old-browser-notice a {
    font-weight: 600;
    text-decoration: underline;
}

nav#main-nav {
    display: grid;
    grid-template-areas: "home works publications spacing commissions info";
    grid-template-columns: 16% 16% 18% 17% 17% 16%;
    padding: 10px 30px;
}

nav#footer-nav{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}

#home {
    grid-area: home;
}

#works {
    grid-area: works;
}

#publications {
    grid-area: publications;
}

#commissions {
    grid-area: commissions;
}

#info {
    grid-area: info;
    text-align: right;
}


.nav-primary-level-link {
    z-index: 10000;
    position: relative;
    cursor: url('../images/cursor_work.svg') 12 12, pointer;
}

.fixed-bottom .nav-primary-level-link, 
.wp-is-not-mobile .fixed-bottom .nav-secondary-level-link:hover span {
    cursor: url('../images/cursor_link.svg') 0 0, pointer;
}

.wp-is-not-mobile .nav-secondary-level-link:hover span,
.wp-is-not-mobile a span:hover {
    cursor: url('../images/cursor_work.svg') 12 12, pointer;
}

.wp-is-not-mobile a span {
    text-decoration: none;
    background-image: linear-gradient(white, white);
    background-position: 0px 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .5s;
}

.wp-is-not-mobile a:hover span {
    background-size: 100% 1px;
}

/*.wp-is-not-mobile a span:before {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0px;
    left: 0;
    background-color: white;
    visibility: hidden;
    -moz-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -o-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -webkit-transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    transition: all 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    z-index: 2;
}

.wp-is-not-mobile a span:hover:before {
    visibility: visible;
    width: 100%;
}*/

.content.left-1 {
    width: 100%;
}

.wp-is-not-mobile .nav-primary-level-link:hover + .nav-secondary-level,
.wp-is-not-mobile .nav-secondary-level:hover {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.wp-is-mobile .nav-secondary-level.active-link {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.nav-secondary-level {
    position: absolute;
    display: none;
    padding-top: 20px;
    z-index: 9999;
    text-align: left;
}

.nav-secondary-level-link {
    padding-bottom: 3px;
    position: relative;
}

.nav-secondary-level-link span {
    position: relative;
}

.wp-is-not-mobile .nav-secondary-level-link > span:hover + .secondary-link-image {
    display: block;
}

.secondary-link-image {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

.source-num, .source-description {
    font-family: 'PixelOperator', monospace;
    font-size: 13px;
}

.post-title {
    color: black;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.post-title + .content-image-container {
    margin-top: -10px;
}

.pdf-link-container {
    flex: 1 0 auto;
    text-align: right;
}

.post-title-container {
    flex: 0 1 auto;
}

.side {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-around;
    padding-right: 30px;
    line-height: 23px;
    grid-column: 3;
}

.hidden-image-text {
    background: #fbffbd;
}

.wp-is-not-mobile .content .hidden-image-text:hover .source {
    visibility: hidden;
}

.wp-is-not-mobile .hidden-image-text:hover .hidden-image-container {
    display: block;
}

.hidden-image-container {
    width: calc(50% - 30px);
    padding-right: 30px;
    display: none;
}

.hidden-image-container {
    position: fixed;
    top: 80px;
    left: 30px;
}

.hidden-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
}

.image-caption {
    font-family: 'PixelOperator', monospace;
    font-size: 15px;
    color: black;
    margin-top: 5px;
    margin-bottom: 15px;
}

.column-caption {
    column-count: 2;
    column-gap: 50px;
    line-height: 16px;
    margin-right: 30%;
    display: none;
}

.content-image-container .column-caption {
    margin-right: 0%;
}

.content-image-container .column-caption {
    column-count: 1;
}

.column-caption p {
    margin-bottom: 10px;
    line-height: 16px;
}

.content-image-container {
    width: 100%;
    padding: 0px 0px 20px 0px;
}

.content-gallery {
    display: block;
    position: relative;
    min-height: 400px;
}

.content-image {
    display: inline-block;
    height: auto;
    max-height: 80vh;
    max-width: 100%;
    z-index: 9997;
    position: relative;
    display: none;
    object-fit: contain;
    object-position: left;
}
.content-image.active, .image-caption.wide-caption.active, .image-caption.column-caption.active {
    display: block;
}

.lazy, .energizing {
    visibility: hidden !important;
}

.energized {
    visibility: visible !important;
}

.loader-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-image-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

#menu-white-background {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: white;
    opacity: 0.8;
    z-index: 9998;
}

.wide-container .image-container {
    flex-direction: column;
}

.video-container {
    padding: 0px 0px 20px 0px;
}

.video-container .column-caption {
    display: block;
    column-count: 1;
}

.image-numbering {
    flex: 1 0 20%;
    text-align: right;
    font-family: 'PixelOperator', monospace;
    font-size: 15px;
    color: black;
    margin-bottom: 5px;
    line-height: 16px;
}

.video-media-wrapper {
    width: 100%;
}

.video-media {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  background: transparent;
}

.video-3-2 {
    padding-bottom: 66.66%;
}

.video-4-3 {
    padding-bottom: 75%;
}

.video-8-5 {
    padding-bottom: 62.5%;
}

.video-media iframe,
.video-media video {
    position: absolute;
    width: 100%;
    height: 100%;
}

.post-title + .video-container {
    margin-top: 25px;
}

.image-captions {
    position: relative;
}

.image-wrapper {
    width: 100%;
    position: relative;
    min-height: 500px;
    display: block;
}

.cursor-right {
    cursor: url('../images/cursor_right.svg'), pointer;
}

.cursor-left {
    cursor: url('../images/cursor_left.svg'), pointer;
}

.wide-container .wide-caption {
    display: none;
    width: 100%;
}

.wide-container .image-caption {
    margin-top: 0px;
    margin-bottom: 0px;
}

.wide-container .image-captions-container {
    flex: 32% 0 0;
    padding: 0px 30px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    line-height: 20px;
}

.wide-container .post-type-ribbon {
    margin-bottom: 16px;
    margin-right: 0px;
}

.image-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
}

.wide-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.info {
    justify-content: flex-start;
    padding-right: 140px;
    grid-column: 1 / 4;
}

.info span {
    margin-top: auto;
}

.news {
    justify-content: flex-start;
    grid-column: 1 / 4;
    min-height: 100%;
    display: unset;
}

.page-title {
    margin-bottom: 25px;
}

.content-section:not(:nth-child(2)) {
    padding-top: 30px;
}

.content-section-title {
    margin-bottom: 15px;
}

.content-section-items {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.section-year {
    flex: 0 0 100px;
}

.section-item {
    display: block;
}

.news .hidden-image-container {
    top: 80px;
    left: unset;
    right: 30px;
    padding-right: 0px;
    width: calc(50% - 30px);
}
a.section-item:hover + div.hidden-image-container {
    display: block;
}

.page-template-info .page-title {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.page-template-info main {
    padding: 20px 30px 10px 30px;
}

.footnote {
    font-family: 'PixelOperator', monospace;
    font-size: 12px;
    color: black;
    margin-top: 30px;
}


nav a span:hover {
    color: white;
}

footer {
    padding: 30px;
}

footer .nav-secondary-level {
    display: flex;
    flex-direction: column;
    position: relative;
    grid-area: content;
    padding-top: 0px;
}

.push-lvl-1 {
    margin-left: 16%;
}

.push-lvl-2 {
    margin-left: 32%;
}

.push-lvl-3 {
    margin-left: 50%;
}

.fixed-bottom .nav-secondary-level {
    bottom: 18px;
    padding-bottom: 18px;
    cursor: url('../images/cursor_link.svg'), pointer;
}

body.admin-bar {
  padding-top: 32px;
}

.admin-bar .post-title, .admin-bar .hidden-image-container {
    top: 82px;
}

.page-template-info .pdf-download {
    position: fixed;
    right: 30px;
}

.pdf-download:hover {
    background: black;
    color: white;
}

.works {
    flex-direction: column;
    flex-wrap: nowrap;
    display: none;
}

.work-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.work-title {
    font-size: 20px;
}

.work {
    margin-bottom: 40px;
    position: relative;
}

body.home {
    background-size: cover;
}

.home main {
    padding: 0px 30px;
}

.single-commissions .content-image-meta.captions {
    position: absolute;
    padding-right: 35%;
}

@media only screen and (max-width: 450px) {

    #desktop-fp-image {
        display: none;
    }

    body {
        font-size: 20px;
    }

    .works {
        display: flex;
    }

    nav#main-nav {
        grid-template-columns: repeat(8, 1fr);
        grid-template-rows: 40px 40px;
        align-items: center;
        padding: 15px;
    }

    #home {
        grid-row: 1;
        grid-column: 1 / 4;
    }

    #info {
        grid-row: 2;
        grid-column: 8 / 9;
    }

    #works {
        grid-row: 1;
        grid-column: 4 / 6;
        text-align: center;
    }

    #commissions {
        grid-row: 2;
        grid-column: 1 / 8;
        text-align: left;
    }

    #publications {
        grid-row: 1;
        grid-column: 6 / 9;
        text-align: right;
    }

    nav#main-nav div {
        font-size: 20px;
    }

    nav#footer-nav {
        font-size: 20px;
    }

    .fixed {
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 10000;
        width: 100%;
        height: 100%;
        background: white;
    }

    .admin-bar .fixed {
        top: 32px;
    }

    .dark-mode .fixed {
        background: #000;
        color: #fff;
    }

    .active-link {
        display: flex;
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: 30px;
        top: 120px;
        justify-content: flex-start !important;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-y: scroll;
    }

    .page-template-info main, .page-template-news main {
        flex: unset;
        min-height: unset;
        height: auto;
        padding: 10px 15px 30px 15px;
    }

    .page-template .content {
        max-height: none;
    }

    .info > p {
        padding-bottom: 20px;
    }

    .info {
        padding: 0;
    }

    .page-template-info .content {
        margin-top: 50px;
    }

    .page-template-info main {
        grid-template-areas:  "side" "content";
    }

    main, footer {
        padding: 10px 15px 30px 15px;
    }

    main {
        grid-template-columns: 100%;
        grid-template-areas: "content" "side";
        grid-template-rows: auto auto;
    }

    .home main {
        padding: 0px 15px 30px 15px;
    }

    .single-works .content {
        grid-column: 1;
    }

    .single-commissions .content {
        grid-column: 1;
    }

    .single-publications .content {
        grid-column: 1;
    }

    .column-caption {
        column-count: 1;
    }

    .side {
        grid-column: 1;
        grid-area: side;
        line-height: 23px;
    }

    .content {
        grid-area: content;
    }

    .left-3 {
        width: 100%;
        padding: 30px 0px 0px 0px;
    }

    .push-lvl-3, .push-lvl-2, .push-lvl-1 {
        margin: 0px;
        width: 100%;
    }

    .wide-container .image-numbering {
        padding-left: 30px;
        padding-right: 30px;
    }

    a.section-item:hover + div.hidden-image-container {
        display: none;
    }

    .pdf-download {
        position: relative;
        right: 0px;
    }

    .pdf-download:hover {
        background: unset;
        color: unset;
    }

    .content-image-container {
        padding: 0px 0px 10px 0px;
    }

    #wpadminbar {
        position: fixed;
    }

    .single-publications .content > div:not(.wide-container), .single-publications .content > p {
        padding-left: 0%;
    }
    
    .single-commissions .content > div:not(.content-image-container), .single-commissions .content > p {
        padding-left: 0%;
    }
    
    .single-commissions .content > .content-image-container {
        padding-right: 0%;
    }

    .single-commissions .content-image-meta.captions {
        position: unset;
        padding-right: 0%;
    }

    .wide-container .image-captions-container {
        display: none;
    }

    .page-template-info .content {
        padding-right: 0px;
    }

    .content-gallery, .image-wrapper {
        min-height: 180px;
    }

    footer .nav-secondary-level {
        grid-column: 2 / span 5 !important;
    }

    .single-commissions .image-numbering {
        text-align: right;
    }

    .single-works .footer-side {
        grid-column: 1 / span 1;
    }
    
    .single-publications .footer-side {
        grid-column: 1 / span 2;
    }
    
    .single-commissions .footer-side {
        grid-column: 1 / span 2;
    }

    .single-publications .nav-secondary-level {
        grid-column: 3 / span 5 !important;
    }

    .single-commissions .nav-secondary-level {
        grid-column: 3 / span 5 !important;
    }


}

@media only screen and (max-width: 450px) {

}

