@charset "UTF-8";
/**
 *
 * ereignisse-propstei.ch: Stylesheet public web
 *
 * @author     Manuel Märklin
 * @copyright  2021 Manuel Märklin Programmierung, Switzerland
 * @link       https://www.2mp.ch
 */
@import url("https://fast.fonts.net/lt/1.css?apiType=css&c=78d52125-c370-4f4d-8d7a-d49b33110137&fontids=1491970,1491986");
@font-face {
  font-family: "Neue Haas Unica W01 Heavy";
  src: url("../Fonts/1491970/f01b7f8c-22f9-4b50-9ad7-d3a17cf65b06.woff2") format("woff2"), url("../Fonts/1491970/69806caf-7c00-4742-8f54-584ad7d5ad6b.woff") format("woff");
}
@font-face {
  font-family: "Neue Haas Unica W01 Medium It";
  src: url("../Fonts/1491986/2418a824-3af2-42d7-a62e-f7a77cf487d1.woff2") format("woff2"), url("../Fonts/1491986/86b76db5-9343-473a-a106-60683cec7626.woff") format("woff");
}
@media all {
  /**
       * Basic elements
       */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    height: 100% !important;
    margin: 0;
    padding: 0;
    font-size: 10pt;
    font-family: "Neue Haas Unica W01 Medium It", Arial, sans-serif;
  }

  body {
    margin: 0;
    padding: 0;
  }

  a {
    color: black;
    text-decoration: underline;
  }

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

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-weight: normal;
  }

  h3 {
    font-weight: normal;
    font-style: italic;
  }

  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
       */
  .stripe {
    background-color: black;
    width: 280px;
    height: 3px;
    position: absolute;
    left: 0;
  }

  header {
    margin: 0;
    padding: 0;
  }
  header .logo {
    position: absolute;
    top: 120px;
    right: 100px;
    z-index: 1;
    width: 400px;
  }
  header nav {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 15px;
    line-height: 1;
  }
  header nav .navimage {
    display: none;
  }
  header nav ul {
    font-size: 1.5rem;
    display: flex;
  }
  header nav ul li {
    padding-right: 3px;
    list-style-type: none;
  }
  header nav ul li:before {
    content: "·";
    padding-right: 3px;
  }
  header nav ul li ul {
    display: none;
  }
  header nav ul li ul li {
    margin: 0 1.5rem;
  }
  header nav ul li a {
    text-decoration: none;
    color: black;
  }
  header nav ul li a:hover {
    color: blue;
  }
  header nav ul li.active a {
    color: blue;
  }
  header nav ul li.active a:hover {
    color: blue;
  }
  header nav ul li.active ul {
    padding-top: 10px;
    padding-bottom: 22px;
    margin-top: 15px;
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 3;
    background-image: linear-gradient(to right, black 25%, rgba(255, 255, 255, 0) 0%);
    background-position: top;
    background-size: 12px 3px;
    background-repeat: repeat-x;
    background-color: #f6f6f6;
  }
  header nav ul li.active ul li {
    list-style-type: none;
    float: left;
    margin: 0;
    padding-right: 3px;
  }
  header nav ul li.active ul li:first-child {
    list-style: none;
    content: none;
    padding-left: 10px;
    margin-left: 0;
  }
  header nav ul li.active ul li a {
    color: black;
  }
  header nav ul li.active ul li.active a {
    color: blue;
  }
  header nav ul li.subnav {
    height: 72px;
  }
  header nav ul li:first-child {
    list-style-type: none;
    padding-right: 0.3rem;
  }
  header nav ul li:first-child:before {
    display: none;
  }

  main {
    display: flex;
    flex-wrap: wrap;
    min-height: 600px;
    width: 100%;
  }
  main aside {
    padding: 0;
    display: flex;
    position: absolute;
    left: 0;
    z-index: 2;
    background: white;
  }
  main aside .stripe {
    display: none;
  }
  main aside .content {
    padding: 10px 10px 10px 30px;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    width: 240px;
    height: 600px;
    overflow-y: auto;
    line-height: 1;
  }
  main aside .content h1 {
    position: relative;
    left: -20px;
    font-weight: normal;
    padding-bottom: 10px;
  }
  main aside .content h2 {
    font-size: 1rem;
    font-weight: normal;
  }
  main aside .content p {
    font-size: 1.5rem;
  }
  main aside .toggle {
    cursor: pointer;
    border-top: 3px solid black;
    border-bottom: 3px solid black;
    height: 600px;
    min-width: 40px;
    display: flex;
    writing-mode: vertical-lr;
    padding: 10px 0;
    position: relative;
  }
  main aside .toggle .agenda_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
  }
  main aside .toggle .agenda_arrow img {
    width: 20px;
  }
  main aside .toggle .agenda_arrow.close {
    transform: rotate(180deg);
  }
  main aside .toggle .agenda_title {
    display: none;
    position: absolute;
    transform: rotate(180deg);
    font-size: 1.5rem;
    line-height: 35px;
  }
  main section {
    padding: 0;
    width: 100%;
  }
  main section h1 {
    font-size: 1.5rem;
    font-family: "Neue Haas Unica W01 Medium It", Arial, sans-serif;
    font-weight: normal;
    line-height: 1.1;
  }
  main section h2 {
    font-size: 1.2rem;
    font-weight: normal;
  }
  main section h3 {
    font-size: 1rem;
    font-weight: normal;
  }
  main section .gallery {
    width: 100%;
    height: 600px;
  }
  main section .gallery img {
    max-height: 600px;
  }
  main section .slick-prev, main section .slick-prev:before {
    content: url(../images/Pfeil_weiss_links_gallery.png);
    left: 84px;
    z-index: 1;
    opacity: unset;
  }
  main section .slick-next, main section .slick-next:before, main section .slick-next:hover {
    content: url(../images/Pfeil_weiss_rechts_gallery.png);
    right: 42px;
    z-index: 1;
    opacity: unset;
  }
  main section .slide-image {
    width: 100%;
    height: auto;
  }
  main section.articles {
    display: flex;
    padding: 0 30px;
  }
  main section .page {
    padding: 0;
    line-height: 1.2rem;
  }
  main section .page .teaser {
    margin-left: 30px;
    padding-top: 1rem;
    width: 800px;
    font-size: 1.2rem;
  }
  main section .page .pageContent {
    display: flex;
    max-width: 1200px;
    margin-left: 30px;
    padding: 20px 0;
  }
  main section .page .pageContent .multicolumn {
    column-count: 2;
    column-gap: 20px;
    padding-right: 20px;
  }
  main section .page .pageContent .details {
    min-width: 400px;
  }
  main section article {
    display: flex;
    padding-top: 40px;
    flex-wrap: wrap;
  }
  main section article .content {
    width: 100%;
    display: flex;
  }
  main section article .page {
    margin-right: 50px;
    margin-bottom: 10px;
    width: 320px;
  }
  main section article .page a {
    text-decoration: none;
  }
  main section article .page img {
    max-height: 320px;
  }
  main section article .page .container {
    padding-top: 15px;
    padding-left: 20px;
    line-height: 1;
  }
  main section article .page .container .teaser {
    width: 100%;
    margin-left: 0;
  }
  main section article .page .more {
    padding: 5px 0 0 20px;
    font-family: "Neue Haas Unica W01 Heavy", Arial, sans-serif;
    text-decoration: underline;
  }

  footer {
    font-size: 1rem;
    padding-left: 10px;
    padding-bottom: 15px;
    display: flex;
    line-height: 1;
  }
  footer .contact {
    width: 100%;
    position: relative;
    padding-top: 10px;
  }
  footer .contact .content {
    display: none;
    padding: 10px 30px;
  }
  footer .contact .content img {
    display: block;
    padding: 10px 0;
  }
  footer .contact h1, footer .contact p {
    display: inline;
    font-family: "Neue Haas Unica W01 Medium It", Arial, sans-serif;
    font-weight: normal;
  }
  footer .toggle {
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
  }
  footer .toggle .contact_arrow {
    width: 20px;
  }
  footer .toggle .contact_arrow img {
    width: 20px;
    transform: rotate(270deg);
    text-align: right;
  }
  footer .toggle .contact_arrow.contact_close {
    transform: rotate(180deg);
  }
}
@media screen and (max-width: 1200px) {
  main {
    min-height: 400px;
  }
  main aside .content {
    height: 400px;
  }
  main aside .toggle {
    height: 400px;
  }
  main section .gallery {
    height: 400px;
  }
  main section .gallery img {
    max-height: 400px;
  }
  main section .page .pageContent {
    max-width: 100%;
  }
  main section .page .pageContent .details {
    min-width: 300px;
    padding-right: 20px;
  }
  main section article .page {
    margin-right: 30px;
    width: 240px;
  }
  main section article .page img {
    max-height: 240px;
  }
}
/* mobile site: */
@media screen and (max-width: 840px) {
  header .logo {
    display: none;
  }
  header nav .navimage {
    display: block;
    cursor: pointer;
    width: 25px;
  }
  header nav ul {
    display: none;
    padding: 10px 30px;
  }
  header nav ul li {
    margin: 0;
    clear: both;
  }
  header nav ul li a {
    line-height: 2.2rem;
  }
  header nav ul li.active ul {
    border-top: none;
    position: relative;
    left: auto;
    background: none;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  header nav ul li.active ul li {
    list-style-type: none;
    clear: both;
    margin: 0;
  }
  header nav ul li.active ul li:first-child {
    padding-left: 0;
    margin-left: 0;
  }
  header nav ul li:first-child:before {
    display: inline;
    content: "·";
    padding-right: 3px;
  }
  header nav ul.subnav {
    height: auto;
  }

  main {
    min-height: 300px;
    flex-direction: column;
  }
  main aside {
    order: 3;
    width: 100vw;
    height: auto;
    min-height: 40px;
    position: unset;
    flex-direction: column;
  }
  main aside .stripe {
    display: block;
  }
  main aside .content {
    order: 2;
    display: none;
    height: auto;
    width: 100%;
    border: none;
  }
  main aside .toggle {
    display: block;
    position: absolute;
    height: auto;
    width: 100%;
    padding: 0 10px;
    border: none;
  }
  main aside .toggle .agenda_title {
    display: block;
    position: relative;
    transform: none;
    writing-mode: lr;
  }
  main aside .toggle .agenda_arrow {
    width: 20px;
    display: block;
    position: absolute;
    right: 1.5rem;
  }
  main aside .toggle .agenda_arrow img {
    width: 20px;
    transform: rotate(270deg);
    text-align: right;
  }
  main aside .toggle .agenda_arrow.close {
    transform: rotate(180deg);
  }
  main section .gallery {
    height: 300px;
  }
  main section .gallery img {
    max-height: 300px;
  }
  main section .page .teaser {
    margin-right: 30px;
    width: auto;
  }
  main section .page .pageContent .multicolumn {
    columns: 1;
  }
  main section .page .pageContent .details {
    padding-right: 30px;
  }
  main section article {
    padding-top: 20px;
  }
}
@media screen and (max-width: 600px) {
  main {
    min-height: 200px;
  }
  main section .gallery {
    height: 200px;
  }
  main section .gallery img {
    max-height: 200px;
  }
  main section.articles {
    justify-content: center;
  }
  main section .page .teaser {
    margin-right: 30px;
    width: auto;
  }
  main section .page .pageContent {
    flex-direction: column;
  }
  main section article .page {
    margin-right: 30px;
    width: 320px;
  }
}
