/** Reset **/
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

/** Clearfix **/
.cf:after {
  content: "";
  display: table;
  clear: both;
}

img {
  max-width: 100%;
}

html {
  background: #333;
}

body {
  background: #fff;
}

.hidden {
  display: none;
}

/* Fotorama modification */
.gallery {
  background: #f6f6f6;
}
.fotorama__thumb-border {
  border-color: #000;
}
* {
  font-family: 'myriad-pro', Helvetica, Arial, sans-serif;
}
body {
  font-size: 100%;
  vertical-align: baseline;
  letter-spacing: 0;
  font-weight: 400;
}
strong, .strong, b {
  font-weight: 400;
}
.light {
  font-weight: 300;
}
a {
  text-decoration: none;
  color: #000;
  transition: background .3s, color .3s, opacity .3s, border-color .3s;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}
.alpha,
.text h1 {
  font-size: 45px;
  font-size: 2.8125rem;
  font-weight: 300;
  line-height: 1.25em;
  margin: 0 0 .5em 0;
}
@media screen and (max-width: 30em) {
  .alpha,
  .text h1 {
    font-size: 2.2rem;
  }
}
.alpha-with-margin {
  margin-bottom: 1.25em;
}
.beta,
.text h2 {
  font-size: 27px;
  font-size: 1.6875rem;
  font-weight: 300;
  line-height: 1.5em;
  margin: 0 0 1em 0;
}
.beta-with-margin {
  margin-bottom: 1.5em;
}
.gamma,
.text h3 {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5em;
  margin: 0 0 1.5em 0;
}
.delta,
.text h4 {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5em;
  font-style: italic;
  margin: 0 0 1.5em 0;
}
.epsilon,
.text h5,
.zeta,
.text h6 {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5em;
  margin: 0 0 1.5em 0;
}
.text {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5em;
  font-weight: 300;
}

.text p {
  margin-bottom: 1.5em;
}
.text a {
  font-weight: 400;
  border-bottom: 2px solid #ddd;
}
.text a:hover {
  border-color: #000;
}
.text blockquote {}
.text figure {
  display: block;
  margin-bottom: 1.5em;
}
.video {
  position: relative;
  padding-bottom: 56.25%;
}
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.marginalia {
  color: #777;
}
.marginalia a {
  color: #777;
  font-weight: 300;
}
.marginalia strong,
.marginalia b,
.marginalia h1,
.marginalia h2,
.marginalia h3,
.marginalia h4,
.marginalia h5,
.marginalia h6 {
  color: #000;
}
.dark .marginalia,
.dark .marginalia.text a,
.dark .marginalia .text a {
  color: #999;
}
.text hr {
  height: 0;
  background: 0;
  border: 0;
  border-bottom: 2px solid #ddd;
  margin: 1.5em 0;
}

.text ol,
.text ul {
  margin-bottom: 1.5em;
  margin-left: 1.25em;
}
.text ul {
  margin-left: 1.1em;
}
.text ul > li {
  list-style: square;
}
.text ol ol,
.text ol ul,
.text ul ul,
.text ul ol {
  margin-bottom: 0;
}
.text dl {
  margin-bottom: 1.5em;
}
.text dt {
  font-weight: 400;
  color: #000;
}
.text dd {
  font-weight: 300;
}
.image {
  position: relative;
  overflow: hidden;
  display: block;
}
a.image {
  border: 0;
}
.image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.hero-image .image {
  padding-bottom: 50%;
}
.content-image .image {
  padding-bottom: 66.66%;
}



/*
 :::  Navigation
-------------------------------------------------- */

.nav > li {
  list-style: none;
}
.nav > li > a {
  display: block;
}

/*
  Dropdown
*/
.dropdown {
  position: relative;
  background: #fff;
  box-shadow: rgba(0,0,0, .2) 0px 2px 10px;
}
.dropdown:after {
  position: absolute;
  content: "";
  top: -.5em;
  margin-left: -.1em;
  border-bottom: .5em solid #fff;
  border-left: .5em solid transparent;
  border-right: .5em solid transparent;
}
.dropdown-left {
  left: 0;
}
.dropdown-left:after {
  left: 1.5em;
}
.dropdown-right {
  right: 0;
}
.dropdown-right:after {
  right: 1.5em;
}
.dropdown-list {
  padding: .5em 0;
}
.dropdown-list a {
  display: block;
  padding: .5em 1.5em;
  white-space: nowrap;
  line-height: 1em;
  font-size: 18px;
  font-size: 1.125rem;
}
.dropdown-list a:hover {
  color: #777;
}
.header-menu .dropdown {
  position: absolute;
  display: none;
  z-index: 1;
}
.header-menu > ul > li:hover .dropdown {
  display: block;
}

.header {
  position: relative;
  background: #000;
  z-index: 9;
}
.header .section {
  padding-top: 0;
  padding-bottom: 0;
}
.header .logo {
  float: left;
  display: inline-block;
  position: relative;
  width: 24px;
  height: 25px;
  top: 1em;
}
.header .site-menu {
  display: block;
  float: right;
}

.header-menu {
  float: left;
  margin-left: 2.25em;
  background: #000;
}
.header-menu > ul > li {
  float: left;
  position: relative;
}
.header-menu > ul > li > a {
  padding: 1em .75em;
  line-height: 1em;
  border: 0;
  color: #fff;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 300;
  border-top: 1px solid #333;
}
.header-menu > ul > li > a:hover {
  color: #999;
}
.main-menu > ul > li.is-active:after {
  position: absolute;
  content: "";
  bottom: -.5em;
  left: 50%;
  margin-left: -.5em;
  border-top: .5em solid #000;
  border-left: .5em solid transparent;
  border-right: .5em solid transparent;
}

.social {
  float: right;
}
.social a {
  border: 1px solid #aaa;
  color: #fff;
  border-radius: 50%;
  height: 35px;
  width: 35px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}

/*
  Footer nav
*/
.footer-menu {
  background: #000;
}
.footer-menu > ul > li > a {
  padding: .75em 0;
  border-bottom: 1px solid #333;
  line-height: 1em;
  color: #999;
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: 300;
}
.footer-menu > ul > .is-active > a,
.footer-menu > ul > li > a:hover {
  color: #fff;
}

@media screen and (min-width: 50em) {
  .footer-menu {
    padding: 0 .75em;
  }
  .footer-menu > ul > li {
    float: left;
  }
  .footer-menu > ul > li > a {
    padding: 1em .75em;
    border: 0;
  }
}



/*
 :::  Filter
-------------------------------------------------- */
.filter {
  position: relative;
  display: block;
  padding: .4em .75em .4em 3.5em;
  border: 1px solid transparent;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.2em;
  color: #aaa;
  font-weight: 300;
}
.filter:not(.is-active):hover {
  color: #fff;
}
.filter .fa-tag {
  position: absolute;
  left: 1.2em;
  top: .575em;
  font-size: 17px;
}
.filter .fa-times-circle {
  position: absolute;
  right: .9em;
  top: .575em;
  font-size: 17px;
  opacity: 0;
  transition: opacity .3s;
}
.filter.is-active {
  /* background: #555; */
  color: #fff;

}
.filter.is-active .fa-times-circle {
  opacity: 1;
}
.dark {
  background: #333;
  color: #fff;
}
.dark.text a,
.dark .text a {
  color: #fff;
  border-color: #555;
}
.dark.text a:hover,
.dark .text a:hover {
  border-color: #fff;
}
.section {
  padding: 1.5em;
  max-width: 90em;
  margin: 0 auto;
}
@media screen and (min-width: 60em) {
  .section {
    padding: 3em;
  }
}
.section-with-separator {
  border-bottom: 1px solid #ddd;
}

.dark.section-with-separator {
  border-bottom: 1px solid #555;
}

.map {
  position: relative;
  border: 2px solid #ddd;
  padding: 2px;
}
.map > span {
  position: relative;
  display: block;
  padding-bottom: 66.66%;
  overflow: hidden;
  background: #ddd;
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.search-form {
  border-bottom: 1px solid #555;
  margin-bottom: 1.5em;
}
.search-field {
  position: relative;
  padding-left: 3.75em;
}
.search-field .fa {
  position: absolute;
  top: 1.5em;
  left: 1.2em;
}
.search-input {
  background: none;
  border: none;
  outline: 0;
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.5em;
  font-weight: 300;
  padding: 1em 0;
  color: #fff;
  width: 100%;
}


.vcard-section {
  margin-bottom: 1.5em;
}
.vcard .vcard-section:last-child {
  margin-bottom: 0;
}
.vcard-label {
  color: #999;
  display: inline-block;
  width: 3em;
}
.project-preview-image figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0, .7);
  border: 1px solid #555;
  opacity: 0;
  transition: opacity .3s;
}
.ie .project-preview-image figcaption {
  display: none;
}
.touch .project-preview-image figcaption {
  display: block;
  opacity: 1;
  background: transparent;
}
.project-preview-image figcaption span {
  position: absolute;
  bottom: .75em;
  left: 1em;
  right: 1em;
  line-height: 1.5em;
  color: #fff;
  font-weight: 300;
}
.project-preview-image a:hover figcaption {
  opacity: 1;
}
.ie .project-preview-image a:hover figcaption {
  display: block;
  background: transparent;
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#B2000000,endColorstr=#B2000000)";
  zoom: 1;
}
.text figcaption,
.image-caption {
  padding: .5em 0;
  color: #777;
}
figure.center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dark .image-caption {
  color: #999;
}
.grid-item {
  display: inline-block;
  vertical-align: top;
  width: 100%;
}
.grid-narrow {
  margin-left: -1em;
}
.grid-narrow .grid-item {
  padding-left: 1em;
}

.grid-wide {
  margin-left: -1.5em;
}
.grid-wide .grid-item {
  padding-left: 1.5em;
}

@media screen and (min-width: 60em) {
  .grid-wide {
    margin-left: -3em;
  }
  .grid-wide .grid-item {
    padding-left: 3em;
  }
}

.partner-image {
  margin-bottom: 1.5em;
}

@media screen and (min-width: 60em) {
  .partner-image {
    width: 50%;
  }
  .partner-text {
    width: 50%;
    margin-top: -.6em;
  }
}

@media screen and (min-width: 90em) {
  .partner-image {
    width: 33.33%;
  }
  .partner-text {
    width: 66.66%;
    margin-top: -.6em;
  }

  .partner-bio {
    width: 50%;
  }

  .partner-meta {
    width: 50%;
    margin-top: 4.15em;
  }

}
.ie .partner-image,
.ie .partner-text {
  width: 50%;
}

.teaser .content-image {
  margin-bottom: 1em;
}
.teaser .gamma {
  margin-bottom: .5em;
}
.contact .grid-item:first-child {
  margin-bottom: 3em;
}
.contact .vcard {
  margin-top: -.6em;
}
@media screen and (min-width: 65em) {
  .contact .grid-item {
    width: 50%;
  }
}

.ie .contact .grid-item {
  width: 50%;
}
.filters {
  margin-bottom: 3em;
}

@media screen and (min-width: 60em) {
  .filters .grid-item {
    width: 50%;
  }
}

@media screen and (min-width: 90em) {
  .filters .grid-item {
    width: 33.33%;
  }
}

.footer {
  background: #000;
  padding-top: .5em;
  padding-bottom: 6em;
}
.footer .section {
  padding-top: 0;
  padding-bottom: 0;
}

@media screen and (min-width: 50em) {
  .footer {
    padding-top: .5em;
    padding-bottom: 9em;
  }
  .footer .misc-menu {
    float: left;
    margin-left: -1.5em;
  }
  .footer .misc-menu ul {
    float: left;
  }
  .footer .language-menu {
    float: right;
    margin-right: -1.5em;
  }
}
.text .image-caption {
  border-bottom: 2px solid #ddd;
}
.article {
  min-height: 35em;
}

.article-sidebar .marginalia {
  border-top: 2px solid #ddd;
  padding-top: 1.5em;
  margin-bottom: 1.5em;
}

@media screen and (min-width: 60em) {

  .article-header {
    width: 75%;
    padding-right: 3em;
  }
  .article-sidebar {
    width: 25%;
  }
  .article-sidebar .marginalia {
    border: 0;
    padding: 0;
  }
  .article-body {
    width: 75%;
    padding-right: 3em;
  }

}

.ie .article-header,
.ie .article-body {
  width: 75%;
}
.ie .article-sidebar {
  width: 25%;
}

@media screen and (min-width: 90em) {

  .article-header {
    padding-right: 9em;
  }
  .article-body {
    padding-right: 9em;
  }

}
.contacts .contact {
  margin-bottom: 3em;
  padding-bottom: 3em;
  border-bottom: 2px solid #ddd;
}
.contacts .contact:last-child {
  margin-bottom: 1.5em;
  border-bottom: 0;
  padding-bottom: 0;
}

.projects {
  padding-top: 1em;
}

.grid-narrow.image-grid .image-grid-item {
  margin-bottom: 1em;
}
.grid-wide.image-grid .image-grid-item {
  margin-bottom: 3em;
}

@media screen and (min-width: 30em) {
  .image-grid-item {
    width: 50%;
  }
}

@media screen and (min-width: 60em) {
  .image-grid-item {
    width: 25%;
  }
}

@media screen and (min-width: 90em) {
  .image-grid-item {
    width: 16.66%;
  }
}

@media screen and (min-width: 120em) {
  .image-grid-item {
    width: 12.5%;
  }
}
.ie .image-grid-item {
  width: 20%;
}
.projects {
  padding-top: 1em;
}
.partners .partner {
  margin-bottom: 3em;
  border-bottom: 2px solid #ddd;
  padding-bottom: 1.5em;
}
.partners .partner:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}
.teaser-grid-item {
  margin-bottom: 3em;
}

@media screen and (min-width: 30em) {
  .teaser-grid-item {
    width: 50%;
  }
}

@media screen and (min-width: 70em) {
  .teaser-grid-item {
    width: 25%;
  }
}
.ie .teaser-grid-item {
  width: 25%;
}

.memberships .image {
  border: 1px solid #ddd;
  box-shadow: #fff 0 0 0 1px inset;
  line-height: 0;
  padding-bottom: 50%;
}
.memberships .image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
}
