@charset "UTF-8";
/**
 *
 * schoch-tavli.ch: Stylesheet public web
 *
 * @author     Manuel Märklin
 * @copyright  2022 Manuel Märklin Programmierung, Switzerland
 * @link       https://www.2mp.ch
 */
@import url("https://use.typekit.net/ujx6orw.css");
@media all {
  /** font-sizes **/
  	/**
        * Basic elements
        */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0; }

  html {
    height: 100% !important;
    margin: 0;
    padding: 0;
    font-size: 10pt; }

  body {
    margin: 0;
    padding: 0;
    font-family: monotype-grotesque, Sans-Serif;
    line-height: 1.1;
    background-color: white;
    hyphens: auto;
    -webkit-hyphens: auto; }

  a {
    color: black;
    cursor: pointer; }

  h1, h2, h3 {
    padding: 0;
    margin: 0; }

  h1 {
    font-size: 3rem;
    font-weight: normal; }

  h2 {
    font-size: 2rem;
    font-weight: normal; }

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

  hr {
    border-top: 2px solid black;
    margin: 2px 0 8px 0; }

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

  ol, ul {
    margin: 0;
    padding: 0; }

  p {
    margin: 0; }

  table {
    width: 100%;
    border-collapse: collapse; }

  td,
  th {
    vertical-align: top;
    padding-right: 0.5em; }

  	/**
        * Layout elements
        */
  header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 30px;
    background-color: white;
    position: fixed;
    z-index: 1000; }
    header a {
      text-decoration: none; }
    header .title {
      padding: 2px 0;
      font-size: 1.4rem; }
    header .hamburger {
      color: transparent;
      height: 20px;
      width: 20px;
      position: relative;
      cursor: pointer;
      margin-inline: 1rem;
      background: currentColor;
      z-index: 1; }
      header .hamburger.active .hamburger-icon {
        background: transparent;
        transform: rotate(-135deg); }
      header .hamburger.active .hamburger-icon:before,
      header .hamburger.active .hamburger-icon:after {
        top: 0; }
      header .hamburger.active .hamburger-icon:before {
        transform: rotate(90deg); }
      header .hamburger .hamburger-icon,
      header .hamburger .hamburger-icon:before,
      header .hamburger .hamburger-icon:after {
        content: '';
        background: black;
        position: absolute;
        height: 1px;
        width: 20px; }
      header .hamburger .hamburger-icon {
        top: 9px; }
      header .hamburger .hamburger-icon:before {
        top: -6px; }
      header .hamburger .hamburger-icon:after {
        top: 6px; }
    header .menu {
      display: none;
      z-index: 1000;
      position: fixed;
      top: 30px;
      right: 0;
      cursor: pointer; }
      header .menu ul {
        line-height: 20px;
        text-align: right; }
        header .menu ul li {
          list-style-type: none;
          padding: 2px 2px 2px 50px;
          background-color: white;
          font-size: 1.4rem; }
        header .menu ul.open {
          display: block; }
        header .menu ul li:active, header .menu ul li:hover {
          background-color: black;
          color: white; }
          header .menu ul li:active a, header .menu ul li:hover a {
            background-color: black;
            color: white; }
    header .wrapper {
      position: fixed;
      top: 0;
      display: flex;
      align-items: center;
      z-index: 2; }
      header .wrapper .hamburger {
        cursor: pointer; }

  main {
    width: 100%; }
    main ul {
      display: flex;
      position: fixed;
      top: 0;
      z-index: 1000;
      text-align: left; }
      main ul > li {
        cursor: pointer;
        list-style-type: none;
        padding: 4px 18px 4px 6px;
        background-color: transparent;
        font-size: 1.4rem; }
        main ul > li:hover, main ul > li.active {
          background-color: black;
          color: white; }
        main ul > li.hidden {
          display: none; }
        main ul > li ul.subnav {
          top: 27px;
          display: none;
          z-index: 800; }
          main ul > li ul.subnav li {
            width: auto;
            color: black;
            background-color: white;
            margin-left: -5px;
            font-size: 1.4rem;
            padding: 4px; }
          main ul > li ul.subnav li:hover {
            background-color: black;
            color: white; }
      main ul li:last-of-type {
        width: auto;
        background-color: black;
        color: white;
        padding: 4px; }
      main ul .activefilter {
        display: none;
        width: auto;
        background-color: black;
        color: white; }
        main ul .activefilter #activeFilter {
          padding-right: 5px; }
    main .projects {
      column-count: 3;
      column-gap: 0;
      font-size: 1.4rem; }
      main .projects a {
        text-decoration: none; }
      main .projects .project {
        break-inside: avoid;
        line-height: 2rem; }
        main .projects .project.hidden {
          display: none; }
        main .projects .project.opaque img {
          filter: brightness(0.5) grayscale(100%); }
        main .projects .project .projecttitle {
          padding: 0 0 3px 6px; }
    main .projectimages {
      width: 100%;
      height: 100vh; }
      main .projectimages div {
        position: relative; }
      main .projectimages img {
        width: 50vw;
        vertical-align: bottom; }
      main .projectimages .hamburger {
        color: transparent;
        position: fixed;
        width: 36px;
        height: 36px;
        top: 15px;
        left: 6px;
        cursor: pointer;
        margin-inline: 6px;
        background: currentColor;
        z-index: 1001; }
        main .projectimages .hamburger .hamburger-icon {
          background: transparent;
          transform: rotate(-135deg); }
        main .projectimages .hamburger .hamburger-icon:before {
          transform: rotate(90deg); }
        main .projectimages .hamburger .hamburger-icon,
        main .projectimages .hamburger .hamburger-icon:before {
          content: '';
          background: black;
          position: absolute;
          height: 2px;
          width: 21px; }
    main #imagegallery {
      display: none;
      position: fixed;
      top: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.9);
      z-index: 500; }
      main #imagegallery .hamburger {
        color: transparent;
        width: 36px;
        height: 36px;
        position: absolute;
        top: 50px;
        right: 35px;
        cursor: pointer;
        background: currentColor;
        z-index: 1000; }
        main #imagegallery .hamburger .hamburger-icon {
          background: transparent;
          transform: rotate(-135deg); }
        main #imagegallery .hamburger .hamburger-icon:before {
          transform: rotate(90deg); }
        main #imagegallery .hamburger .hamburger-icon,
        main #imagegallery .hamburger .hamburger-icon:before {
          content: '';
          background: white;
          position: absolute;
          height: 2px;
          width: 21px; }
      main #imagegallery .gallery,
      main #imagegallery .slick-list,
      main #imagegallery .slick-track {
        height: 100%; }
      main #imagegallery .slick-prev, main #imagegallery .slick-prev:before, main #imagegallery .slick-prev:hover {
        content: url(../images/arrow_left_white.png);
        z-index: 9999;
        width: auto;
        height: auto; }
      main #imagegallery .slick-next, main #imagegallery .slick-next:before, main #imagegallery .slick-next:hover {
        content: url(../images/arrow_right_white.png);
        z-index: 9999;
        width: auto;
        height: auto; }
      main #imagegallery .slide {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column; }
        main #imagegallery .slide img {
          max-height: 90%; }
        main #imagegallery .slide .copyright {
          width: 100%;
          font-size: 1.4rem;
          text-align: center;
          color: white; }
      main #imagegallery .slick-slide {
        height: 100%; }
    main .projecttext {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      position: fixed;
      top: 30px;
      right: 0;
      width: 50%;
      height: 100vh;
      padding-left: 40px;
      z-index: 1; }
      main .projecttext .partner {
        padding-top: 3px; }
      main .projecttext .partner:first-of-type {
        padding-top: 12px; }
      main .projecttext .text {
        font-size: 2rem;
        padding-top: 10px; }
        main .projecttext .text .info {
          font-size: 1.4rem;
          padding-bottom: 0.5rem; }
      main .projecttext .partners {
        margin-top: 12px;
        border-top: 2px solid black;
        font-size: 1rem; }
    main .publicationname {
      padding-left: 12px; }
      main .publicationname h1 {
        position: absolute;
        top: 2px;
        z-index: 1001;
        font-size: 1.4rem; }
    main .publications {
      display: flex;
      flex-wrap: wrap;
      padding: 30px 0 0 12px; }
      main .publications a {
        text-decoration: none; }
      main .publications .publicationitem {
        width: 25%; }
        main .publications .publicationitem .container {
          font-size: 1rem; }
    main .publication {
      padding: 30px 0 0 6px; }
      main .publication .container .hamburger {
        color: transparent;
        position: fixed;
        width: 36px;
        height: 36px;
        top: 15px;
        left: 3px;
        cursor: pointer;
        background: currentColor;
        z-index: 1001; }
        main .publication .container .hamburger .hamburger-icon {
          background: transparent;
          transform: rotate(-135deg); }
        main .publication .container .hamburger .hamburger-icon:before {
          transform: rotate(90deg); }
        main .publication .container .hamburger .hamburger-icon,
        main .publication .container .hamburger .hamburger-icon:before {
          content: '';
          background: black;
          position: absolute;
          height: 2px;
          width: 21px; }
      main .publication .container .images {
        text-align: center; }
      main .publication .container .title {
        padding-top: 10px; }
    main .buildinglist {
      display: flex;
      flex-wrap: wrap;
      width: 100%; }
      main .buildinglist .project {
        flex-basis: calc( 100%/7 ); }
        main .buildinglist .project .info .bl_title {
          text-decoration: underline; }
        main .buildinglist .project .info .bl_title, main .buildinglist .project .info .bl_city {
          font-size: 1rem;
          color: black;
          padding-left: 1px; }
        main .buildinglist .project .info .bl_image img {
          width: 100%;
          height: auto;
          overflow: hidden; }
        main .buildinglist .project .info .bl_image.opaque img {
          filter: brightness(0.5) grayscale(100%); }
        main .buildinglist .project.hidden {
          display: none; }
    main .staticpage {
      display: flex; }
      main .staticpage div {
        position: relative; }
      main .staticpage .images {
        position: absolute;
        top: 0;
        right: 0;
        width: 50vw;
        height: 100vh; }
        main .staticpage .images img {
          width: 50vw;
          vertical-align: bottom; }
      main .staticpage .text {
        position: fixed;
        top: 0;
        left: 0;
        width: 50vw;
        height: 100vh;
        padding-top: 5vh;
        padding-left: 12px; }
        main .staticpage .text .address {
          position: absolute;
          bottom: 10px; }
        main .staticpage .text .preface {
          max-width: 48vw;
          padding-bottom: 20px;
          font-size: 2rem; }
        main .staticpage .text .team {
          display: flex;
          width: 48vw; }
          main .staticpage .text .team a {
            text-decoration-thickness: 1px;
            text-underline-offset: 5px; }
          main .staticpage .text .team .employee {
            width: 66%;
            padding-right: 10px; }
          main .staticpage .text .team .employee2 {
            width: 100%; }
          main .staticpage .text .team .employee, main .staticpage .text .team .employee2 {
            font-size: 1.4rem; }
            main .staticpage .text .team .employee p:nth-of-type(2n), main .staticpage .text .team .employee2 p:nth-of-type(2n) {
              padding-bottom: 10px; }
          main .staticpage .text .team .underscore {
            border-bottom: 2px solid black;
            padding-bottom: 5px; }
      main .staticpage .title {
        width: 48vw;
        position: fixed;
        top: 5px;
        margin-left: 12px;
        font-size: 1.4rem;
        border-bottom: 2px solid black;
        padding-bottom: 5px;
        z-index: 1000; }

  footer {
    width: 100%;
    position: fixed;
    bottom: 0;
    font-size: 1rem;
    padding: 12px;
    z-index: 1; }
    footer .subnav ul {
      display: flex;
      justify-content: flex-end;
      list-style-type: none; }
      footer .subnav ul li {
        padding-left: 25px;
        cursor: pointer; }
        footer .subnav ul li a:hover {
          background-color: black;
          color: white;
          padding-inline: 5px; } }
@media screen and (max-width: 1200px) {
  /** font-sizes **/
  h1 {
    font-size: 2.2rem; }

  h2 {
    font-size: 1.6rem; }

  h3 {
    font-size: 1.6rem; }

  header .title {
    font-size: 1.2rem; }
  header .wrapper .hamburger, header .wrapper .title {
    margin: 6px; }
  header .wrapper .title {
    padding: 0; }
  header .menu ul li {
    font-size: 1.2rem; }

  main ul > li {
    font-size: 1.2rem; }
    main ul > li ul.subnav li {
      font-size: 1.2rem; }
  main .projects {
    column-count: 1;
    font-size: 1.2rem; }
    main .projects .project {
      line-height: 1.6rem; }
  main #imagegallery .slide .copyright {
    font-size: 1.2rem; }
  main .projecttext {
    display: block;
    flex-direction: unset;
    position: unset;
    width: 100%;
    height: auto;
    padding-top: 25px;
    padding-inline: 6px;
    padding-bottom: 25px; }
    main .projecttext .city {
      font-size: 1.2rem; }
    main .projecttext .title {
      font-size: 2.2rem; }
    main .projecttext .text {
      font-size: 1.6rem; }
      main .projecttext .text .info {
        font-size: 1.2rem; }
    main .projecttext .partners {
      font-size: 1rem; }
  main .projectimages {
    overflow-y: unset;
    width: 100%; }
    main .projectimages img {
      width: 100%; }
    main .projectimages .hamburger {
      margin: 0; }
  main .publications {
    justify-content: center; }
    main .publications .publicationitem {
      min-width: 50%; }
  main .buildinglist .project {
    flex-basis: 20%; }
  main .staticpage {
    display: block; }
    main .staticpage .images {
      position: unset;
      width: 100%;
      height: auto;
      padding-top: 5vh;
      padding-inline: 6px; }
      main .staticpage .images img {
        width: 100%; }
    main .staticpage .text {
      display: block;
      position: unset;
      overflow-y: unset;
      width: 100%;
      height: auto; }
      main .staticpage .text .team {
        flex-wrap: wrap; }
        main .staticpage .text .team .employee {
          width: 100%;
          padding-right: 0; }
      main .staticpage .text .address {
        position: unset; }
      main .staticpage .text .preface {
        max-width: 100vw; }
    main .staticpage .title {
      width: 100vw; }

  footer {
    font-size: 1rem; } }
/* mobile site: */
@media screen and (max-width: 840px) {
  header {
    height: auto; }
    header .menu {
      top: 25px; }
    header .wrapper {
      padding-right: 30px; }
      header .wrapper .hamburger {
        position: absolute;
        top: 0;
        right: 0; }
      header .wrapper .title, header .wrapper .hamburger {
        margin: 3px; }

  main ul {
    top: 0;
    width: 100vw;
    height: 25px;
    z-index: 800;
    background-color: #ffffff;
    padding-left: 0; }
    main ul li {
      width: auto;
      padding: 2px 6px 0; }
      main ul li ul.subnav {
        top: 25px; }
        main ul li ul.subnav li {
          padding: 4px 0 4px 2px; }
  main .categories {
    top: 30px;
    padding-left: 6px; }
  main .buildinglist {
    margin-top: 22px; }
    main .buildinglist .project {
      flex-basis: 33%; }
  main .publicationname {
    padding-left: 6px; }
  main .publications {
    padding: 60px 0 0 6px; }
  main .publication .container .hamburger {
    left: 6px; }
  main .publication .container .title {
    padding-top: 30px; }
  main .staticpage .text {
    padding-top: 7vh; } }
