@charset "utf-8";

/*
Theme Name: Urban Complexity Lab
Theme URI: uclab.fh-potsdam.de
Version: 1.0
Author: Knisterwerk — Phillip Kortlang & Chris Magiera
Author URI: http://www.knisterwerk.com
*/



/* CONTENT
   - - - - - - - - - - - - - - - - - - - - */

/* 01 – Colors
   02 – Reset
   03 – Webfonts
   04 – Links & Transitions
   05 – Basis
   06 – Layout
   07 – Header
   08 – Nav
   09 – Logos
   10 – Footer
   11 – Text-level elements
   12 – Links
   13 – Box

   14 – Home
   15 – Subsites
      – About
      – Projects
      – Publications
      – People

   16 – Etc.

   17 – Text-image teaser

        Media Queries

/* - - - - - - - - - - - - - - - - - - - - */



/* =Colors
   - - - - - - - - - - - - - - - - - - - - */
/* Green: #0aff96 / rgb(10, 255, 150)
   Blue:  #320096 / rgb(50, 0, 150) */



/* =Reset
   - - - - - - - - - - - - - - - - - - - - */

h1, h2, h3, h4,
p,
ul, li,
table, tr, th, td,
input, textarea, select, button,
form {
  margin: 0;
  padding: 0;
}

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

th {
  font-weight: normal;
}

a {
  text-decoration: none;
  outline: 0;
}

a img { /* Remove border around linked images in IE10 and below */
  border: 0;
}

ul li {
  list-style-type: none;
}



/* =Webfonts
   - - - - - - - - - - - - - - - - - - - - */

@font-face {
  font-family: "euclid-flex";
  src: url("fonts/euclidflex-regular.eot");
  src: url("fonts/euclidflex-regular.eot?#iefix") format("embedded-opentype"),
       url("fonts/euclidflex-regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "euclid-flex";
  src: url("fonts/euclidflex-bold.eot");
  src: url("fonts/euclidflex-bold.eot?#iefix") format("embedded-opentype"),
       url("fonts/euclidflex-bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "lyon-text";
  src: url("fonts/lyontext-regular-no2.eot");
  src: url("fonts/lyontext-regular-no2.eot?#iefix") format("embedded-opentype"),
       url("fonts/lyontext-regular-no2.woff") format("woff"),
       url("fonts/lyontext-regular-no2.ttf") format("truetype"),
       url("fonts/lyontext-regular-no2.svg") format("svg");
  font-weight:  400;
  font-style:   normal;
  font-stretch: normal;
}

@font-face {
  font-family: "lyon-text";
  src: url("fonts/lyontext-regular-no2-italic.eot");
  src: url("fonts/lyontext-regular-no2-italic.eot?#iefix") format("embedded-opentype"),
       url("fonts/lyontext-regular-no2-italic.woff") format("woff"),
       url("fonts/lyontext-regular-no2-italic.ttf") format("truetype"),
       url("fonts/lyontext-regular-no2-italic.svg") format("svg");
  font-weight:  400;
  font-style:   italic;
  font-stretch: normal;
}



/* =Links & Transitions
   - - - - - - - - - - - - - - - - - - - - */
a {
  color: #1b8f96;
}

a,       a:hover,
a:after, a:hover:after {
  cursor: pointer;
  -webkit-transition: opacity .2s ease-in-out, background .2s ease-in-out;
     -moz-transition: opacity .2s ease-in-out, background .2s ease-in-out;
      -ms-transition: opacity .2s ease-in-out, background .2s ease-in-out;
          transition: opacity .2s ease-in-out, background .2s ease-in-out;
}

header a,
footer a,
header a:hover,
footer a:hover {
  -webkit-transition: border .2s ease-in-out;
     -moz-transition: border .2s ease-in-out;
      -ms-transition: border .2s ease-in-out;
          transition: border .2s ease-in-out;
}



/* =Basis
   - - - - - - - - - - - - - - - - - - - - */

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "lyon-text", "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  text-rendering: optimizeLegibility;
   -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #eee;
  background-image: url("img/bg.svg");
  background-size: 100% auto;
  background-repeat: repeat-y;
}

body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 25%);
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0.1)), color-stop(25%,rgba(0,0,0,0)));
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 25%);
  background-image: -o-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 25%);
  background-image: -ms-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 25%);
  background-image:  linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0) 400px);
}



/* =Layout
   - - - - - - - - - - - - - - - - - - - - */

.container {
  position: relative;
  width: 80%;
  max-width: 1600px;
  margin: 0 auto;
}

#skewed-bg {
  position: relative;
  background-image: url("img/bg.svg");
  background-size: 100.1% auto;
  background-repeat: repeat-y;
  margin-top: 35%;
  margin-top: 60vh;
  padding: 2rem 0 0 0;
}

#skewed-bg:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 50%;
  background: #e7e7e7;
  z-index: -1;
  -webkit-transform: skewY(5deg);
  -moz-transform: skewY(5deg);
  -ms-transform: skewY(5deg);
  -o-transform: skewY(5deg);
  transform: skewY(5deg);
  transform-origin: 100% 100%;
}

#content {
  background: #fff;
}

.container-box {
  padding-left: 8%;
  padding-right: 5%;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.span1, .span2, .span3 {
  float: left;
  margin-right: 3%;
  margin-bottom: 3.5rem;
}

.span1 {
  width: 30.333%;
}

.span1-col-helper {
  width: 30.333%; /* To calcuate percentage values for CSS columns’ width and gap */
}

.span2 {
  width: 63.333%;
}

.span2-container {
  width: 103%; /* Due to margin-right */
}

.span2-container .span1 {
  width: 47%;
}

.span2-container .box:nth-child(n+3) {
  border-top: 2px solid #eee;
  padding-top: 2rem;
}

.span3 {
  width: 97%;
}

.span-col3 {
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
}



/* =Header
   - - - - - - - - - - - - - - - - - - - - */

header.container-box {
  padding-right: 8%;
  padding-top: 0;
}

/* Logo */

#logo {
  position: absolute;
  z-index: 3;
  top: 35px;
  left: 25px;
  display: block;
  height: 160px;
}

canvas {
  position: absolute;
  left: 0;
}

#canvas-helper {
  position: absolute;
  left: 0;
  top: 0;
  height: 160px;
}

#logo img {
  position: absolute;
  left: 25.6%;
  top: 33.64%;
  height: 41.3%;
  width: auto;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* Fix aspect ratio issue in IE */
  #logo img {
    position: absolute;
    left: 25.6%;
    top: 33.64%;
    height: 41.3%;
    width: 75%;
  }
}

/* Blurb */

#blurb {
  position: relative;
  float: right;
  clear: both;
  width: 100%;
  text-align: right;
  color: #fff;
  margin-top: 5rem;
	padding: .25rem;
}

#blurb:before {
  content: "";
  display: none;
  width: 2rem;
  height: 2px;
  margin-left: auto;
  margin-right: 0;
  margin-bottom: .5rem;
  background: #fff;
}

#blurb strong {
  font-family: "euclid-flex", serif;
  font-weight: bold;
  font-style: normal;
}

/* Header image */

#header-img {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  height: 115%;
  width: 100%;
  background-color: #eee;
  background-size: cover;
  background-position: center center;
}

#content-top a {
  display: inline-block;
  font-style: italic;
  line-height: 1.3em;
  color: #fff;
}

#content-top ul,
#content-top ul li {
  display: inline;
}

#content-top ul li:after {
  content: " · ";
}

#content-top ul li:last-child:after {
  content: "";
}

#content-top strong {
  font-family: "euclid-flex", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: bold;
}

#content-top.container-box {
  padding-top: 0;
  padding-bottom: 1rem;
}

#content-top .header-img-meta {
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}



/* =Nav
   - - - - - - - - - - - - - - - - - - - - */

nav {
  float: right;
  clear: both;
  margin-top: 83px;
  margin-right: 5px;
  font-size: 1.125rem;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .2em;
}

nav ul {
  text-align: right;
}

nav ul li {
  display: inline;
  margin-left: 1.25rem;
}

/* Fixed nav */

.fixed-nav {
  position: fixed;
  top: 0;
  left: 10%;
  right: 10%;
  max-width: 1600px;
  z-index: 100;
  height: 0;
  background: #555;
  -webkit-transition: height .15s ease-out;
     -moz-transition: height .15s ease-out;
      -ms-transition: height .15s ease-out;
          transition: height .15s ease-out;
}

.fixed-nav img,
.fixed-nav ul {
  position: absolute;
  top: 50%;
  z-index: 100;
}

.fixed-nav img {
  left: 8%;
  margin-top: -7px;
  width: auto;
  height: 12px;
}

.fixed-nav ul {
  right: 8%;
  margin-top: -12px;
  font-size: .938rem;
}

.fixed-nav ul li {
  margin-left: .5rem;
}

.fixed-nav ul a {
  border-bottom: 0;
}

.fixed-nav img,
.fixed-nav ul {
  opacity: 0;

}



/* =Logos
   - - - - - - - - - - - - - - - - - - - - */

.logo-container {
  position: absolute;
  right: 72px;
  top: -24px;
}

.logo-fhp img {
  position: relative;
  width: 60px;
  top: 7px;
  margin-right: 25px;
}

.logo-here {
  color: #fff;
  font-style: italic;
}

.logo-here img {
  width: 50px;
  margin-left: .25rem;
}



/* =Footer
   - - - - - - - - - - - - - - - - - - - - */

footer {
  position: relative;
  line-height: 1.5;
  font-style: italic;
  color: #000;
}

footer.container-box {
  padding-left: 8%;
  padding-right: 0;
  padding-top: 1.6rem;
}

/* Imprint */

footer .imprint {
  float: left;
}

/* Logos */

footer .supported-by {
  float: right;
  color: #fff;
}

.subsite #content-top .logo-here {
  display: none;
}

.subsite .logo-here {
  top: auto;
  bottom: 58px;
  right: -73px;
}

.subsite .logo-fhp {
  position: absolute;
  top: 25px;
  bottom: 0;
  right: 67px;
}

.subsite .logo-fhp img {
  width: 62px;
  height: auto;
}

footer .visit-us {
  display: inline-block;
  margin-right: .25rem;
}

footer strong {
  font-family: "euclid-flex", sans-serif;
  text-transform: uppercase;
  font-style: normal;
  font-weight: bold;
  letter-spacing: .1em;
}

.twitter {
  display: inline-block;
  width: 1rem;
  height: auto;
  margin-bottom: -.1rem;
  padding-left: .25rem;
}

.mastodon {
  display: inline-block;
  width: 1rem;
  height: auto;
  margin-bottom: -.3rem;
  padding-left: .25rem;
}





/* =Text-level elements
   - - - - - - - - - - - - - - - - - - - - */

/* Headlines */

h1,
h2,
h4 {
  font-family: "euclid-flex", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: .2em;
}

h1 {
  font-size: 1.313rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

h3 {
  font-weight: normal;
  font-style: italic;
  font-size: 1.25rem;
}

h4 {
  display: inline;
  line-height: 1.5;
  letter-spacing: .1em;
}

.subhead,
.intro {
  display: block;
  font-family: "lyon-text", "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  text-transform: none;
  font-weight: normal;
  letter-spacing: 0;
}

small,
.small {
  font-family: "euclid-flex", sans-serif;
  font-size: .75rem;
  font-weight: bold;
  font-style: normal;
}

.intro {
  margin-bottom: 2.333rem;
}

.subsite .span1.meta-info,
.meta-info div,
.meta-info p,
.project-content .meta-info p {
  font-style: italic;
  margin-bottom: 1rem;
}

.subsite .span1.*:last-of-type,
.meta-info p:last-of-type {
  margin-bottom: 0;
}



/* =Links
   - - - - - - - - - - - - - - - - - - - - */

a.opacity {
  opacity: .65;
}

a.opacity:hover {
  opacity: 1;
}

a.anchor {
  display: block;
  position: relative;
  top: -80px;
  visibility: hidden;
}

a[title*="Download"] {
  position: relative;
  margin-right: .875em;
}

a[title*="Download"]:after {
  content: " ↓";
  position: absolute;
  bottom: -.125em;
  right: -1.05em;
}

a[title*="External"] {
  margin-right: .1em;
}

a[title*="External"]:after {
  content: "\00a0↗";
  position: relative;
  font-family: "euclid-flex";
  font-style: normal;
  background: #fff;
  padding-bottom: .2em;
  line-height: 0;
}

.intro a[title*="External"]:after {
  font-size: 1rem;
  bottom: .15em;
}

footer a[title*="External"]:after {
  background: transparent;
}

h4 a {
  border-bottom: 2px solid;
}

nav a {
  font-family: "euclid-flex", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: bold;
  border-bottom: 2px solid;
}

nav a {
  color: #fff;
  border-bottom-color: #fff;
}

footer a {
  color: #000;
  border-bottom-color: #000;
}

nav a:hover,
footer a:hover {
  border-bottom-color: transparent;
}

#content a:hover {
  background-image: none !important;
  border-bottom-color: #fff;
}

#content a:not(.box):not(.publication-title):not(.slider_nav):not(.expand),
.box h3 {
  background-repeat: repeat-x;
  -webkit-background-size: 2px 2px;
      -moz-background-size: 2px 2px;
          background-size: 2px 2px;
  background-position: 0 .85em;
  text-shadow: 1px 0 #fff,
               2px 0 #fff,
              -1px 0 #fff,
              -2px 0 #fff,
               1px  1px #fff,
               1px -1px #fff,
               2px  1px #fff,
               2px -1px #fff,
              -1px  1px #fff,
              -1px -1px #fff,
              -2px  1px #fff,
              -2px -1px #fff;
}

.windows #content a:not(.box):not(.publication-title),
.windows .box h3 {
  background: none !important;
}


/* =Box
   - - - - - - - - - - - - - - - - - - - - */

.box {
  position: relative;
  float: left;
  display: block;
  box-sizing: border-box;
  margin-bottom: 0;
}

.box:nth-child(n+4) {
  border-top: 2px solid #eee;
  padding-top: 2rem;
}

/* Headline */

.box .h2-container {
  position: relative;
  display: inline-block;
  padding: .2rem 1.5rem .2rem .75rem;
}

.box .h2-container:before {
  content: "";
  display: block;
  position: absolute;
  left: -.75rem;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #fff;
  -webkit-transition: all 0.1s ease-out;
  transition: all 0.1s ease-out;
}

.box h2 {
  display: inline;
  line-height: 1.5;
}

.box h2 span {
  border-bottom: 3px solid;
}

.box h3 {
  display: inline;
  font-size: 1.188rem;
  line-height: 1.4;
}

.box h3,
.box p {
  font-style: italic;
  line-height: 1.3em;
}

/* Content */

.box-content {
  position: relative;
  z-index: 3;
  color: #000;
}

.box p {
  margin-top: .375rem;
}

.box small {
  display: block;
  margin-top: .5rem;
  line-height: 1.2;
}

.box-meta {
  position: relative;
  overflow: hidden;
  width: 100%;
	min-height: 150px;
}

.box-meta img {
  width: 100%;
  height: auto;
  margin-bottom: -1rem;
}

/* Categories*/

.box.image p,
.box.publication .box-content,
.box.news .box-content {
  padding-left: .75rem;
  padding-right: .75rem;
}

.box.publication,
.box.news {
  padding-top: 0;
}

.image .box-content {
  top: -1.5rem;
}

.box.image .box-meta {
  padding: 0;
}

.news .box-content,
.publication .box-content {
	background: #fff;
  padding: 1.75rem 0 2rem;
}

/* Hover */

.box .category {
  position: absolute;
  z-index: 60;
  top: 50%;
  left: 0;
  width: 100%;
  height: 20px;
  margin-top: -15px;
  opacity: 0;
  -webkit-transition: all 0.2s .05s ease-out;
          transition: all 0.2s .05s ease-out;
  -webkit-backface-visibility: hidden;
  font-family: "euclid-flex", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: bold;
  color: #fff;
  text-align: center;
}

.box.publication .category {
  margin-top: -10px;
}

.box:hover .category {
  opacity: 1;
}


.box img,
.box .box-content {
  -webkit-transition: opacity .5s ease, -webkit-transform .5s ease;
     -moz-transition: opacity .5s ease, -moz-transform .5s ease;
          transition: opacity .5s ease, transform .5s ease;
  -webkit-backface-visibility: hidden;
}


.box:hover img  {
  -webkit-transform: scale(1.06);
  -moz-transform: scale(1.06);
  -o-transform: scale(1.06);
  -ms-transform: scale(1.06);
  transform: scale(1.06);
  -webkit-backface-visibility: hidden;
}



.box:hover img,
.publication:hover .box-content {
  opacity: .35;
}




/* =Home
   - - - - - - - - - - - - - - - - - - - - */

.home {
  background-image: none;
  background: #eee;
}

body.home:before {
  background-image: none;
}

.home h2 {
  margin-bottom: 0;
}

.home [class*="authors"] ul li {
  font-style: normal;
}

.home .small {
  margin-top: .5rem;
}



/* =Subsites
   - - - - - - - - - - - - - - - - - - - - */

/* Header */

.subsite header.container-box {
  height: 215px;
  padding-top: 0;
  padding-bottom: 0;
}

.subsite #logo,
.subsite #canvas-helper {
  height: 140px;
}

/* Columns */

.subsite .span1,
.subsite .span2 {
  margin-bottom: 0;
}

.subsite small {
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* Author list */

[class*="authors"] ul,
[class*="authors"] ul li {
  display: inline;
  font-style: italic;
}

[class*="authors"] ul li:after {
  content: " · ";
}

[class*="authors"] ul li:last-child:after {
  content: "";
}

[class*="authors"] a {
  margin-right: .15em;
  margin-left: .15em;
}

[class*="authors"] a:first-child {
  margin-left: 0;
}



/* =About
   - - - - - - - - - - - - - - - - - - - - */

/* Table */

.post-type-archive-about table tr:last-child td {
  margin-bottom: 0;
}

.post-type-archive-about td.span1 {
  margin-bottom: 1rem;
}

.post-type-archive-about td.span2 {
  margin-bottom: 2rem;
}

/* Courses */

#Courses {
/*	display: none;*/
}

.span1.courses {
  margin-top: -2rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.span1.courses .subhead {
  margin-bottom: 2rem;
}

.span1.courses ul li {
  margin-bottom: 1.5rem;
}



/* =Projects / Single Project
   - - - - - - - - - - - - - - - - - - - - */

.easy-image-gallery {
  display: none;
}

/* Columns */

.single-projects .span1 {
  width: 19%;
}

.single-projects .span2 {
  width: 75%;
}

/* Content */

.project-content p,
.project-content .meta-info,
.project-content .clearfix,
.project-content .project-video-container {
  margin-bottom: 1.5rem
}

.project-content .clearfix:last-of-type {
  margin-bottom: 0;
}

.project-img-container {
  position: relative;
  width: 133.333%;
  pointer-events: none;
}

.project-content {
  margin-bottom: 0;
}

.project-img {
  margin-bottom: 0;
  pointer-events: all;
}

.project-img-caption {
  position: absolute;
  bottom: 0;
  font-style: italic;
}

.project-video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.project-video-container iframe,
.project-video-container object,
.project-video-container embed,
.project-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Slider */

.slides-container {
  position: relative;
  float: left;
  margin-bottom: 3rem;
}

.white-bg img,
.slides-container img {
  display: block;
}

.slides {
  max-width: 100% !important;
}

.slider_nav,
#content .slider_nav:hover {
  transition: none;
  background-image: url("img/slider-arrow.svg") !important;
}

.slider_nav {
  z-index: 3;
  position: absolute;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  left: 0;
  bottom: 0;
  width: 38px;
  background-image: url("img/slider-arrow.svg");
  background-repeat: no-repeat;
  background-position: center 50%;
  background-size: 1rem auto;
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.slider_nav.prev {
  -webkit-transform: rotate(180deg);
     -moz-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
       -o-transform: rotate(180deg);
          transform: rotate(180deg);
}

.slider_nav.next {
  left: auto;
  right: 0;
}

.slides-container:hover .slider_nav {
  opacity: 1;
  transition: opacity .3s ease-in-out;
}

.slider_tabs {
  width: 100%;
  position: absolute;
  bottom: 10px;
  text-align: center;
  z-index: 2000;
}

.slider_tabs li {
  display: inline-block;
  float: none;
  margin-right: 2px;
  opacity: .3;
  width: 14px;
}

.slider_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 100%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  background: #000;
  display: inline-block;
  width: 10px;
  height: 10px;
  }

.slider_tabs li.slider_here {
  opacity: 1;
}



/* =Publications
   - - - - - - - - - - - - - - - - - - - - */

/* Columns */

.post-type-archive-publications .span1,
.post-type-archive-publications .span2 {
  margin-bottom: 2.25rem;
}


/* Table */

.post-type-archive-publications table:last-of-type {
  margin-bottom: 2rem;
}

.post-type-archive-publications table td {
  padding-top: 2rem;
  border-top: 2px solid #eee;
}

.post-type-archive-publications table tr:last-of-type td {
  padding-bottom: 2rem;
}

.post-type-archive-publications table tr:first-child td {
  padding-top: 0;
  border-top: 0;
}

.post-type-archive-publications table:last-child tr:last-of-type td {
  padding-bottom: 0;
}

/* Items */

.publication-item {
  padding-bottom: 1.75rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #eee;
}

.publication-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.single .publication-excerpt {
  margin-top: .5rem;
  max-height: 2.75rem;
}

.single .expand {
  margin-top: .75rem;
}

.publication-excerpt {
  position: relative;
  max-height: 4.15rem;
  transition: max-height .3s 0 ease-out;
  overflow: hidden;
}

.publication-excerpt:after {
  content: "…";
  color: #bbb;
  position: absolute;
  display: block;
  line-height: inherit;
  bottom: 0;
  right: 0;
  padding-right: 1.5rem;
background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(40%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 100%); /* IE10+ */
background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 40%,rgba(255,255,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6 */
  width: 3rem;
  text-align: right;
  transition: opacity .3s .3s;
}

.publication-excerpt.clicked {
    max-height: 500px;
    transition: max-height .5s 0 ease-in;
}

.publication-excerpt.clicked:after {
  opacity: 0;
  transition: opacity .3s 0;
}

.publication-excerpt a {
  margin-top: 1rem;
  background-image: none !important;
  border: 0 !important;
}

.expand {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  background-image: none !important;
}

.expand:after {
  position: absolute;
  right: -.666em;
  bottom: -.1em;
  content: " < ";
  -webkit-transform: rotate(-90deg);
     -moz-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
       -o-transform: rotate(-90deg);
          transform: rotate(-90deg);
  font-size: .938rem;
}

.expand.clicked:after {
  right: -.9em;
  bottom: -.15em;
  -webkit-transform: rotate(90deg);
     -moz-transform: rotate(90deg);
      -ms-transform: rotate(90deg);
       -o-transform: rotate(90deg);
          transform: rotate(90deg);
}

.post-type-archive-publications .publication-authors {
  margin-bottom: .5rem;
  margin-top: 3px;
}



/* =People / Single People
   - - - - - - - - - - - - - - - - - - - - */

.post-type-archive-people .box {
	border-top: none !important;
	padding-top: 0 !important;
	padding-bottom: 1rem;
}

.single-people .span1 {
  margin-bottom: 1rem;
}

.single-projects h3 {
  margin-bottom: 1rem;
}

.single-people .publication-authors,
.single-projects .publication-authors {
  margin-top: .5rem;
}

.people-vita p {
  margin-bottom: .5rem;
}

.portrait {
  margin-bottom: 1rem;
}

/* =Imprint
   - - - - - - - - - - - - - - - - - - - - */

.post-type-archive-imprint h2 {
  margin-top: 2.5rem;
}

.post-type-archive-imprint h2:first-child {
  margin-top: 0;
}

.post-type-archive-imprint h3 {
  margin-bottom: .5rem;
}

.post-type-archive-imprint p {
  margin-bottom: .5rem;
}


/* =Etc.
   - - - - - - - - - - - - - - - - - - - - */

/* Image & Video */

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

/* Clearfix */

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

/* Selection */

::-moz-selection {
  background: #eee;
}

::selection {
  background: #eee;
}

/* Divider */

.span-border-bottom {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #eee;
}

.span-border-bottom:first-of-type {
  padding-bottom: 3rem;
  margin-bottom: 3rem !important;
  border-bottom: 2px solid #eee !important;
}

.span-border-bottom:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
}

/* Masonry */

.masonry {
  padding-bottom: 2rem;
}

.masonry .box img {
  -webkit-filter: grayscale(1);
  -webkit-filter: grayscale(100%);
          filter: gray;
          filter: grayscale(100%);
}

/* Table */

table {
  width: 100%;
  margin-bottom: 2.25em;
  border-bottom: 2px solid #eee;
}

table:last-of-type {
  margin-bottom: 0;
  border-bottom: 0;
}

/* List */

ul li:last-child {
  margin-bottom: 0 !important;
}

/* Visibility */

.visible-small {
  display: none;
}



/* =Individual Posts
   - - - - - - - - - - - - - - - - - - - - */

.postid-63 .span-border-bottom:first-of-type {
  border: 0 !important;
  margin-bottom: 0 !important;
}

.white-bg,
.postid-19 .project-video-container {
  position: relative;
}

.white-bg:after,
.postid-19 .project-video-container:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #eee;
  opacity: .3;
  pointer-events: none;
}

.postid-56 .excerpt {
  margin-top: 1px;
}

.postid-56 h4 {
  line-height: 1.3;
}





/* =Text-image teaser
   - - - - - - - - - - - - - - - - - - - - */

.text-img-teaser-container {
  display: flex;
  flex-grow: 1;
  flex-shrink: 1;
  flex-wrap: wrap;
}

.text-img-teaser-title {
  width: 100%;
  margin-bottom: 2rem;
}

.text-img-teaser-tile {
  width: 48.5%;
  margin-right: 3%;
  margin-bottom: 3rem;
}

.text-img-teaser-tile:nth-of-type(2n+2) {
  margin-right: 0;
}

hr {
  border: 1px solid #f0f0f0;
  padding: 0;
}



@media screen and (min-width: 1550px) {

  html {
    font-size: 20px;
  }

  #logo {
    top: 60px
  }

  #canvas-helper,
  #logo {
    height: 220px;
  }

  nav {
    margin-top: 127px;
  }

  .logo-fhp {
    top: 135px;
  }

  .subsite header.container-box {
    height: 305px;
  }

  .subsite #logo,
  .subsite #canvas-helper {
    height: 180px;
  }

  .subsite nav {
    margin-top: 114px;
  }

  .subsite .logo-here {
    top: auto;
    bottom: 72px;
    right: -73px;
  }

}



@media screen and (min-height: 1100px) {

  #skewed-bg {
    margin-top: 50vh;
  }

}



@media screen and (max-height: 675px) {

  #blurb {
    margin-top: 4rem;
  }

}



@media screen and (max-height: 575px) {

  #blurb {
    margin-top: 3.0rem;
  }

  .logo-fhp {
    background: url("img/logo-fhp-small.svg") no-repeat;
    background-size: 100% auto;
    width:  14px;
    height: 80px;
  }

  .logo-fhp img {
    display: none;
  }

}


@media screen and (max-height: 475px) {

  #blurb {     display: none;   }

}



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

  html {
    font-size: 14px;
  }

  .fixed-nav ul {
    margin-top: -9px;
  }


  #canvas-helper,
  #logo {
    height: 130px !important;
  }

  nav {
    margin-top: 73px;
  }

  .subsite header.container-box {
    height: 205px;
  }

  .logo-fhp {
    top: 79px
    }

  .subsite .logo-here {
    bottom: 50px;
    right: -62px;
  }

  .subsite .logo-fhp {
    top: 23px;
    right: 110px;
  }

  .subsite .logo-fhp img {
    width: 48px;
  }

  #content a:not(.box):not(.publication-title):not(.slider_nav),
  .box h3 {
    background-position: 0 .9em;
  }

  .single-projects .span1 {
    width: 22%;
  }

  .single-projects .span2 {
    width: 72%;
  }

  .project-img-container {
    width: 138.388%;

  }

}



@media screen and (max-width: 1000px) and (min-height: 900px) {

  #skewed-bg {
    margin-top: 40vh;
  }

}



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

  .span1 {
    width: 47%;
  }

  .box:nth-child(n+3) {
    border-top: 2px solid #eee;
    padding-top: 2rem;
  }

  .span-col3 {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }

  .post-type-archive-about .span1 {
    width: 100%;
  }

  .post-type-archive-about .span1.courses {
    margin-top: 2rem;
  }

  .post-type-archive-about .span1.courses:first-of-type {
    margin-top: 0;
  }

  .post-type-archive-about .span1.courses .subhead {
    margin-bottom: 1rem;
  }

  .post-type-archive-about .span1.courses ul li {
    margin-bottom: .75rem;
  }

  .single-people .masonry .span1 {
    width: 47%;
  }

  .single-people .span1,
  .post-type-archive-imprint .span1,
  .post-type-archive-about td.span1,
  .post-type-archive-publications td.span1 {
    width: 30%;
  }

  .single-people .span2,
  .post-type-archive-imprint .span2,
  .post-type-archive-about td.span2,
  .post-type-archive-publications td.span2 {
    width: 64%;
  }

}


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

  #canvas-helper,
  #logo {
    height: 120px !important;
  }

  .subsite header.container-box {
    height: 195px;
  }

  nav {
    margin-top: 69px;
  }

  nav ul li {
    margin-left: .5rem;
  }

  .fixed-nav {
    display: none;
  }

  .logo-fhp {
    top: 74px;
  }

  .logo-here span {
    display: none;
  }

  footer.container-box {
    padding-top: 3%;
  }

}





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

  html {
    font-size: 13px;
  }

  .container {
    width: 95%;
  }

  .subsite .logo-fhp,
  .subsite .logo-here,
  .supported-by {
    display: none;
  }

  .logo-fhp {
    right: 7px;
  }

  .logo-here {
    right: 2px;
  }

  .expand:after {
    bottom: -.05em;
  }

  .expand.clicked:after {
    bottom: -.1em;
  }

}



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

  #skewed-bg {
    margin-top: 284px;
  }

  #header-img {
    height: 400px;
  }

  #blurb,
  nav,
  .fixed-nav,
  #content-top,
  .logo-fhp {
    display: none;
  }

  .post-type-archive-imprint .span1,
  .post-type-archive-imprint .span2,
  .single-people .span1,
  .single-people .span2 {
    width: 97%;
  }

  .post-type-archive-imprint .span1 {
    margin-top: 2rem;
  }

  .single-people .box.span1,
  .single-people .portrait {
    width: 47%
  }

  .single-people .portrait-contact {
    padding-bottom: 3rem;
  }

  .single-people .portrait-contact img,
  .single-people .portrait-contact .meta-info {
    float: left;
    margin-right: 3%;
    margin-bottom: 0;
  }

  .hidden-small {
    display: none;
  }

  .visible-small {
    display: block;
  }

  .single-projects .span1,
  .single-projects .span2 {
    width: 97%;
  }

  .single-projects ul.project-people li {
    display: inline;
  }

  .single-projects ul.project-people li:after {
    content: " · ";
  }

  .single-projects ul.project-people li:after {
    content: " · ";
  }

  .single-projects .project-content {
    margin-top: 0;
  }

  .project-img-container {
    width: 100%;
    margin-bottom: 3rem;
  }

  .project-img-container img {
    margin-bottom: .5rem;
  }

  .project-img-caption {
    position: static;
  }

  footer .imprint,
  footer .social-media {
    float: none;
    margin-bottom: .25rem;
  }


  /* Mobile Nav */

  header {
    margin-top: 3rem;
  }

  nav {
    display: block;
    z-index: 100;
    top: 0;
    left: 2.5%;
    right: 2.5%;
    overflow: hidden;
    position: fixed;
    position: fixed;
    margin-top: 3rem;
    height: 0;
    bottom: auto;
  }

	nav div {
    z-index: 2100;
	}

  #mobile-nav {
    display: block;
    position: fixed;
    z-index: 150;
    top: 0;
    left: 2.5%;
    right: 2.5%;
    height: 3rem;
    padding-top: 18px;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: height .25s ease-out;
       -moz-transition: height .25s ease-out;
         -o-transition: height .25s ease-out;
            transition: height .25s ease-out;
  }

  .nav-visible {
    height: 185px !important;
    z-index: 2000;
    overflow: hidden;
    -webkit-transition: height .25s ease-out;
       -moz-transition: height .25s ease-out;
         -o-transition: height .25s ease-out;
            transition: height .25s ease-out;
  }

  #mobile-nav span,
  #mobile-nav span:before,
  #mobile-nav span:after {
    height: 3px;
    width: 30px;
    background: #fff;
    display: block;
    content: "";
    position: absolute;
    left: 50%;
    margin-left: -15px;
  }

  #mobile-nav span {
    -webkit-transition: background-color .1s ease-out .2s;
       -moz-transition: background-color .1s ease-out .2s;
         -o-transition: background-color .1s ease-out .2s;
            transition: background-color .1s ease-out .2s;
  }

  #mobile-nav span:before {
    top: -6px;
    -webkit-transition: top .1s ease-out .25s, -webkit-transform .1s ease-out;
       -moz-transition: top .1s ease-out .25s, transform .1s ease-out;
         -o-transition: top .1s ease-out .25s, transform .1s ease-out;
            transition: top .1s ease-out .25s, transform .1s ease-out;
  }

  #mobile-nav span:after {
    bottom: -6px;
    -webkit-transition: bottom .1s ease-out .25s, -webkit-transform .1s ease-out;
       -moz-transition: bottom .1s ease-out .25s, transform .1s ease-out;
         -o-transition: bottom .1s ease-out .25s, transform .1s ease-out;
            transition: bottom .1s ease-out .25s, transform .1s ease-out;
  }

  #mobile-nav.nav-visible span {
    background-color: transparent;
    -webkit-transition: background-color .1s ease-out;
       -moz-transition: background-color .1s ease-out;
         -o-transition: background-color .1s ease-out;
            transition: background-color .1s ease-out;
  }

  #mobile-nav.nav-visible span:before {
    top: 0;
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transition: top .1s ease-out, -webkit-transform .1s ease-out .25s;
         -o-transition: top .1s ease-out, transform .1s ease-out .25s;
            transition: top .1s ease-out, transform .1s ease-out .25s;
  }

  #mobile-nav.nav-visible span:after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-transition: bottom .1s ease-out, -webkit-transform .1s ease-out .25s;
         -o-transition: bottom .1s ease-out, transform .1s ease-out .25s;
            transition: bottom .1s ease-out, transform .1s ease-out .25s;
  }

  nav ul {
    text-align: center;
  }

  nav ul li {
    width: 50%;
    display: inline-block;
    text-align: center;
    margin-left: 0;
  }

  nav ul li a {
    line-height: 2.5rem;
  }

}



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

  table {
    margin-bottom: 4rem;
  }

  table td.span1,
  table tr:last-child td.span1 {
    margin-bottom: .5rem;
  }

  table td.span2 {
    margin-bottom: 2rem;
  }

  .post-type-archive-publications td.span1 {
    margin-bottom: .5rem;
  }

  .post-type-archive-publications td.span2 {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }

  .fixed-nav {
    left: 5%;
  }

  .logo-fhp,
  #content-top a.logo-here {
    display: none;
  }

  .span-col3 {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }

  .post-type-archive-about td.span1,
  .post-type-archive-publications td.span1,
  .post-type-archive-about td.span2,
  .post-type-archive-publications td.span2 {
    width: 97%;
  }

  .expand:after {
    bottom: 0;
  }

}



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

  .span1, .span2, .span3 {
    margin: 0;
  }

  .span1, .span2, .span3,
  .single-people .box.span1 {
    width: 97%;
  }

  .box:nth-child(n+3) {
    border-top: 2px solid #eee;
    padding-top: 2rem;
  }

}



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

  .single-people .box.span1,
  .single-people .portrait {
    width: 100%
  }

  .single-people .portrait-contact img {
    padding-bottom: 3rem;
  }

}