
/*##################################################################
# Generic/Normalize
##################################################################*/
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}
/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}
/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}
html {
	box-sizing: border-box;
	height:100%;
}
#page {
	height:100%;
}


/*##################################################################
# Base
##################################################################*/

/* Typography
--------------------------------------------- */
@font-face {
  font-family: "SpaceGrotesk";
  src: url("fonts/SpaceGrotesk-Bold.woff2") format('woff2');
  font-weight: bold;
}
@font-face {
  font-family: "SpaceGrotesk";
  src: url("fonts/SpaceGrotesk-Light.woff2") format('woff2');
  font-weight: 200;
}
@font-face {
  font-family: "SpaceGrotesk";
  src: url("fonts/SpaceGrotesk-Medium.woff2") format('woff2');
  font-weight: medium;
}
@font-face {
  font-family: "SpaceGrotesk";
  src: url("fonts/SpaceGrotesk-Regular.woff2") format('woff2');
  font-weight: normal;
}
@font-face {
  font-family: "SpaceGrotesk";
  src: url("fonts/SpaceGrotesk-SemiBold.woff2") format('woff2');
  font-weight: semi bold;
}

body {
	color: #000;
	font-family: 'SpaceGrotesk', 'Courier New';
    font-weight:200;
	font-size: 10pt;
	line-height: 1.5;
	height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
    padding:15px;
    padding-top:50px;
}

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

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

img {
	height: auto;
	max-width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #000;
    text-decoration:underline;
}

a:visited {
	color: #000;
    text-decoration:none;
}

a:hover,
a:focus,
a:active {
	color: #000;
    text-decoration:line-through;
}

a:focus {
	outline: thin dotted;
}

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







/*##################################################################
# Footer
##################################################################*/

.site-footer 
{
    position: sticky;
    display: flex;
    top: 100vh;
    margin-top: 140px;
    justify-content: space-between;
    margin-bottom: 15px;
    line-height:1.2;
    flex-wrap:wrap;
}

.site-footer .back-to-top a
{
    text-decoration:underline;
}
.site-footer .back-to-top :hover
{
    text-decoration:line-through;
}
.site-footer .journal-nav-mobile{
    display: none;
}
@media only screen and (max-width: 767px)  {
    
    .site-footer {
        margin-top: 280px;
    }
    .site-footer .journal-nav{
        display: none;
    }
    .site-footer .journal-nav-mobile{
          width: 100%;
          margin-bottom: 140px;
          margin-top: -140px;
          justify-content: space-between;
          display: flex;
    }
}

/*##################################################################
# Images and Labels
##################################################################*/
figure {
    float: left;
    margin:0;
}
figure a {
  display: block;
  line-height: 0;
}
figure:hover figcaption {
    opacity:1;
}
figcaption {
  margin-top: 0.7em;
  line-height: 1.05;
  opacity:0;
}

/*##################################################################
# More-Projects-Footer
##################################################################*/
#more_projects {
}
#more_projects_spacer {
    margin-top:140px;
}

/*##################################################################
# Header
##################################################################*/

#masthead {
  height: 40px;
  position: fixed;
  width: 100%;
  left: 0;
  padding-left: 15px;
  padding-right: 15px;
  top: 0px;
  padding-top:15px;
  line-height:1.2;
  mix-blend-mode:exclusion;
}
#masthead .site-branding
{
    float:left;
}
#masthead .main-navigation
{
    float:right;
}
#masthead a{
	color: #ffffff; /* because of blending mode exclusion */
}
#masthead {
	color: #ffffff; /* because of blending mode exclusion */
}
#masthead a {
	text-decoration: none;
}
#masthead a:hover,
#masthead a:focus,
#masthead a:active {
    text-decoration:line-through;
}
#masthead a.active {
    text-decoration:line-through;
}
/* responsive menu
--------------------------------------------- */

.responsive-menu {
  display: none;
  border:none;
  background-color:transparent;
  float:right;
  padding:0;
  margin-right: -10px;
}
.responsive-menu .responsive-menu-nav {
  color:white;
  cursor:pointer;
  font-family:'SpaceGrotesk';
  font-weight:200;
}
.responsive-menu .responsive-menu-nav:hover {
  text-decoration:line-through;
}
.responsive-menu input[type="checkbox"] {
  appearance: none;
}

@media only screen and (max-width: 767px)  {
    #masthead .main-navigation {
      width: 100%;
      margin-top: 140px;
      font-size:20px;
    }
    .menu-items {
        height:0;
        overflow:hidden;
    }
    .responsive-menu {
        display: block!important;
    }
    .menu-close{
        display:none;
    }
    .menu-open{
        display:inline-block;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) .menu-items {
        height:100px;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked)  .menu-open {
        display:none;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked)  .menu-close {
        display:inline-block;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked)#masthead {
        height:100%;
        background:white;
        mix-blend-mode:normal;
        color:#000000;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked)#masthead a{
        color:#000000;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) .responsive-menu .responsive-menu-nav {
        color:#000000;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ .site-footer {
        margin-top: 0;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ .site-footer .back-to-top {
        display:none;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ .site-footer .journal-nav {
        display:none;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ .site-footer .journal-nav-mobile {
        display:none;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ .site-footer .site-info {
        position: fixed;
        bottom:15px;
        color:black;
    }
    .site-header:has(.responsive-menu input[type="checkbox"]:checked) ~ #primary {
        display:none;
    }
}
/* Hover portrait
--------------------------------------------- */
#masthead:has(> .site-branding a:hover) + .hover_portrait {
     bottom:15px; right:15px
}
.hover_portrait { 
    position:fixed; 
    z-index:99;
    bottom:-330px; 
    right:15px; 
    transition: bottom 0.4s;
}
@media only screen and (max-width: 1024px)  {
    .hover_portrait {
        display:none;
    }
}

#intro_title {
    position: relative;
    line-height: 0;
    margin-top: 45px;
    margin-bottom: -45px;
}
/*##################################################################
# Accordeon "Publications & Exhibitions" Listing
##################################################################*/

.tab input { 
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.tab__content {
  max-height: 0;
  overflow: hidden;
}

.tab_header:has(> .tab input:checked )  + .tab__content {
  max-height: 100%;
  margin-top:20px;
  margin-bottom:20px;
}
.tab__label,
.tab__close {
  display: flex;
  cursor: pointer;
}
.tab__label {
  justify-content: space-between;
}
.tab__label::after {
  content: "[+]";
}
.tab input:checked + .tab__label::after {
  content: "[\2013]"; /*Unicode Character “–” (U+2013)*/
}
@media only screen and (max-width: 767px)  {
    .tab_header:has(> .tab input:checked )  + .tab__content {
      max-height: 100%;
      margin-top:15px;
      margin-bottom:15px;
    }

}

/*##################################################################
# Journal (Inverted Color)
##################################################################*/

body.journal-entry-template-default {
    color: #fff;
	background: #000;
    
}
body.journal-entry-template-default a {
	color: #fff;
}
body.journal-entry-template-default a:visited {
	color: #fff;
}
body.journal-entry-template-default a:hover,
body.journal-entry-template-default a:focus,
body.journal-entry-template-default a:active {
	color: #fff;
}


/*##################################################################
# GRID GRID GRID
##################################################################*/

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 30px;
    margin-top: 30px;
    grid-auto-flow: row;
    clear:both;
}
@media only screen and (max-width: 767px)  {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
    }
    #main_grid.grid  {
        grid-gap: 40px 15px;
    }
    #main_grid.grid.single-project  {
        grid-gap: 60px 15px;
    }
    .empty_element {
        display:none;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px)  {
    .grid {
        grid-template-columns: repeat(5, 1fr);
        grid-gap: 30px;
    }
}

#more_projects.grid {
    grid-gap: 20px;
}
.grid.archive_images {
    margin-top: 0px;
    grid-gap:20px;
}
.grid.archive_header .grid_element{
    grid-column: 1 / span 2;
}
.grid.archive_header {
    margin-top:15px;
}
.grid.archive_images .grid_image_landscape {
    grid-column: span 2;
}
.grid.archive_images img{
    height:150px;
    max-width:none;
    
}
@media only screen and (min-width: 768px)  
{
}
@media only screen and (max-width: 767px)  
{
    .not_show_mobile{
        display:none;
    }
    .archive_element3{
        display:none;
    }
    .project_header {
        margin-top: 60px;
    }
    .grid.archive_images {
        grid-gap: 15px;
    }
    #more_projects.grid {
        grid-gap: 15px;
    }
    .archive_grid {
        display: flex;
        flex-flow: wrap;
    }
    
}
.archive_first_image{
    grid-column-start: 1;
}
#archive_end_spacer {
    height:420px;
}
#archive_top_spacer {
    height:15px;
}
@media only screen and (max-width: 767px)  {

    #archive_end_spacer {
        display:none;
    }
}


#about.grid .grid_element.teaser_image{
    grid-column-start: 2;
    grid-column-end: 7;
}
#about.grid .grid_element.news_title{
    grid-column-start: 1;
    grid-column-end: 3;
}
#about.grid .grid_element.news_information{
    grid-column-start: 3;
    grid-column-end: 5;
}
#about.grid .grid_element.news_description{
    grid-column-start: 5;
    grid-column-end: 7;
}
#about.grid .grid_element.about_bio{
    margin-top:85px;
    grid-column-start: 1;
    grid-column-end: 4;
}
#about.grid .grid_element.about_contact{
    margin-top:85px;
    grid-column-start: 5;
    grid-column-end: 7;
}
#about.grid .grid_element.about_cv{
    margin-top:85px;
    grid-column-start: 1;
    grid-column-end: 7;
}
@media only screen and (max-width: 767px)  {
    #about.grid .grid_element.teaser_image{
        grid-column: span 2;
    }
    #about.grid .grid_element.news_title{
        grid-column: span 2;
    }
    #about.grid .grid_element.news_information{
        grid-column: span 2;
    }
    #about.grid .grid_element.news_description{
        grid-column: span 2;
    }
    #about.grid .grid_element.about_bio{
        margin-top:55px;
        grid-column: span 2;
        padding-top:55px;
    }
    #about.grid .grid_element.about_contact{
        margin-top:55px;
        grid-column: span 2;
    }
    #about.grid .grid_element.about_cv{
        margin-top:55px;
        grid-column: span 2;
    }
    #about.grid .grid_element.about_cv .list br{
        margin-bottom:20px;
    }
    #about.grid .grid_element.about_cv .list .extra_line {
      display: none;
    }
}


#project.grid {
}
#project.grid .grid_element.title{
    grid-column-start: 1;
    grid-column-end: 2;
}
#project.grid .grid_element.description{
    grid-column-start: 2;
    grid-column-end: 7;
}
#project.grid .grid_element.references{
    margin-top:140px;
    grid-column-start: 1;
    grid-column-end: 7;
}
.only_mobile {
    display:none;
}
@media only screen and (max-width: 767px)  {
    .only_mobile {
        display:inline;
    }
    #project.grid .grid_element.title{
        grid-column: span 2;
    }
    #project.grid .grid_element.description{
        grid-column: span 2;
        margin-top:20px;

    }
    #project.grid .grid_element.references{
        grid-column-start: 1;
        grid-column-end: 4;
    }
    #project.grid .grid_element.references .list br{
        margin-bottom:20px;
    }
}


/* SIZE 1 grid element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main_grid.grid .grid_element.size_1.grid_image_landscape {
    grid-column: span 2;
}
#main_grid.grid .grid_element.size_1 {
    grid-column: span 1;
}
/*.single-project#main_grid.grid .grid_element.size_1.grid_image_landscape {
    grid-column: span 3;
}*/
.single-project#main_grid.grid .grid_element.size_1 {
    grid-column: span 2;
}
#journal_view #main_grid.grid .grid_element.size_1 {
    grid-column: span 2;
}
/*#journal_view #main_grid.grid .grid_element.size_1.grid_image_landscape {
    grid-column: span 3;
}*/


/* SIZE 2 grid element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main_grid.grid .grid_element.size_2.grid_image_landscape {
    grid-column: span 3;
}
#main_grid.grid .grid_element.size_2 {
    grid-column: span 2;
}

/* SIZE 3 grid element ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#main_grid.grid .grid_element.size_3.grid_image_landscape {
    grid-column: span 6;
}
#main_grid.grid .grid_element.size_3 {
    grid-column: span 4;
}
#journal_view #main_grid.grid .grid_element.size_3 {
    grid-column: span 3;
}


#main_grid.grid  {
    margin-top:140px;
}
.mobile_offset {
    display:none;
}
@media only screen and (max-width: 767px)  {
    
    #main_grid.grid.single-project {
        margin-top:100px;
    }
    #main_grid .grid_element.mobile_size_1 {
        grid-column: span 1!important;
    }
    #main_grid .grid_element.mobile_size_2 {
        grid-column: span 2!important;
    }
    .desktop_offset {
        display:none;
    }
    .mobile_offset {
        display:block;
    }
    #main_grid.single-project .mobile_offset {
        display:none;
    }
    #main_grid.single-project .grid_element.mobile_size_1 {
        grid-column: span 2!important;
    }

    figcaption {
      margin-top: 0.3em;
      opacity: 1;
    }
}
@media only screen and (min-width: 1024px) and (max-width: 1199px)  {
    #main_grid.grid .grid_element.size_3 {
      grid-column: span 3;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px)  {
    #main_grid.grid .grid_element.size_1.grid_image_landscape {
    grid-column: span 2;
    }
    #main_grid.grid .grid_element.size_1 {
        grid-column: span 1;
    }
    #main_grid.grid .grid_element.size_2.grid_image_landscape {
        grid-column: span 3;
    }
    #main_grid.grid .grid_element.size_2 {
        grid-column: span 2;
    }
    #main_grid.grid .grid_element.size_3.grid_image_landscape {
        grid-column: span 5;
    }
    #main_grid.grid .grid_element.size_3 {
        grid-column: span 3;
    }
}



/*##################################################################
# Lightbox
##################################################################*/

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.9);
  line-height: 1.2em;
  color:white;   
}
/* Unhide the lightbox when it's the target */
.lightbox:target {
  display: block;
}
.lightbox  .full_page {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* Lightbox controls
--------------------------------------------- */
.lightbox .title {
    position:absolute;
    left:15px;
    top:15px;
}
.lightbox .close {
    position:absolute;
    top:15px;
    right:15px;
    color:white!important;
    line-height:1.2em;
}
.lightbox .counter {
    position:absolute;
    bottom:15px;
    left:15px;
}
.lightbox .caption {
    position:absolute;
    bottom:15px;
    right:15px;
    line-height:1.2em;
}
.lightbox .nav_next {
    position:absolute;
    top:50%;
    right:15px;
}
.lightbox .nav_prev {
    position:absolute;
    top:50%;
    left:15px;
}
.lightbox .nav_next a, 
.lightbox .nav_prev a{
    color:white!important;
}
@media only screen and (max-width: 767px)  {
    .lightbox .counter {
        display:none;
    }
    .lightbox .nav_next {
        display:none;
    }
    .lightbox .nav_prev {
        display:none;
    }
}



