/* @package poll_st */

:root {
  --blau: #4575a1;
  --blau: #252584;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Open Sans', Verdana, sans-serif;
  font-size: 0.94rem;
  line-height: 1.38rem;
  font-weight: normal;
  letter-spacing: 1.1;
}
p {
  margin: 0.6rem 0;
  line-height: 20px;
  max-width: 650px;
  /* font-size: 15px;
  line-height: 22px; */
  line-height: 1.38rem;
  font-size: 0.94rem;
}
.upperc {
  text-transform: uppercase;
}

#main_wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 52px repeat(5, 1fr) 52px;
  grid-template-rows: 58px 74px min-content min-content 1fr 42px;
  /* margin: 0 52px; */
  overflow: hidden;
}

/* HEADER */

h1.webpage_title {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: normal;
  padding: 35px 0;
  margin: 0;
  display: inline-block;
}

h1.webpage_title > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
}

.slashy {
  position: relative;
  display: inline-block;
  width: 20px;
}

.slashy::before {
  content: '';
  display: block;
  position: absolute;
  background: black;
  width: 2.5px;
  height: 24px;
  transform: skew(-25deg);
  top: 2px;
  left: 7px;
}

/* nav */

#main_nav {
  display: none;

  position: absolute;
  border: 1px solid black;
  padding: 12px;
  background: white;
  top: 78px;
  right: 76px;
}

#main_nav ul {
  text-align: right;
}

#main_nav ul li a {
  padding: 2px 2px 2px 12px;
  display: inline-block;
  line-height: 1.06rem;
  font-size: 0.81rem;
}
/* #main_nav ul li a:hover {
  color: grey;
} */
#burger_menu {
  grid-column: -3 / -2;
  grid-row: 1 / 2;
  display: flex;
  justify-content: flex-end;
  z-index: 100;
}

#burger_menu > div {
  padding: 6px;
}

#lang_switch {
  margin-top: 35px;
  font-size: 15.5px;
  /* display: none; */
}

/* mobile language switch */
#menu-item-822 {
  display: none;
}
#burger_icon {
  height: 20px;
  width: 20px;
  background: url(../img/burger_icon.svg) center / contain no-repeat;
  margin-left: 30px;
  margin-top: 42px;
}

/* STARTSEITE LISTE */

.st_backdrop {
  grid-row: 3/6;
  grid-column: 1/-1;
  z-index: 0;
  background: center / cover no-repeat;
}
/* @media (orientation: landscape) {
  #st_backdrop_p {
    display: none;
  }
}
@media (orientation: portrait) {
  #st_backdrop_l {
    display: none;
  }
} */

#start_list {
  grid-row: 3/7;
  grid-column: 2/5;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  pointer-events: none;
}

.start_link {
  border: 6px solid white;
  font-size: 42px;
  text-transform: uppercase;
  color: white;
  font-weight: bold;
  margin: 12px 0;
  padding: 10px 24px;
  pointer-events: all;
  /* white-space: nowrap; */
}

.start_link:first-of-type {
  margin-top: 52px;
}
.start_link:hover {
  color: white;
}

/* POPUP */

#start_pop_up {
  grid-row: 5/6;
  grid-column: 2 / -2;
  z-index: 1000000;
  align-self: center;
  justify-self: center;
  width: 66%;
  height: 42%;
  background: white;
  position: relative;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: 6px solid var(--blau);
}

#start_pop_up_closer {
  width: 18px;
  height: 18px;
  background: url(../schleider/img/close.svg) center / contain no-repeat;
  position: absolute;
  top: 12px;
  right: 12px;
}

.popup_content {
  background: rgba(255, 255, 255, 0.7);
  padding: 1.7vw 2.4vw 2.4vw 2.4vw;
  width: 90%;
}

#start_pop_up p {
  font-size: 18px;
  margin-top: 0;
  font-weight: bold;
  max-width: unset;
}

#start_pop_up img {
  max-height: 57vh;
  max-width: 60vw !important;
  width: auto;
  object-position: center;
}

#start_pop_up .wp-block-image {
  text-align: center;
}

/* SIDEBAR */

a.page_title_link {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
  /* background: #e3e1e1; */
  padding-left: 52px;
}

h2.page_title {
  color: var(--blau);
  /* text-transform: uppercase; */
  transition: color 0.3s ease;
  font-size: 0.94rem;
  letter-spacing: 2px;
}

h2.page_title:hover {
  color: black;
}

.subpage_subs {
  padding-left: 52px;
  grid-column: 1 / 4;
  grid-row: 4 / 6;
  /* background: #e3e1e1; */
  /* font-family: serif; */
  font-size: 0.94rem;
  /* padding: 0 16px 0 74px; */
  padding-bottom: 26px;
}

.view_option {
  /* background: #e3e1e1; */
}
.schleider_galerie {
  /* background: #e3e1e1; */
}
.subpage_subs h3 {
  color: black;
  margin: 0 0 20px 0;
  font-weight: normal;
  font-size: 0.94rem;
}

.subpage_subs ul {
  margin: 0;
  margin-top: 12px;
}

.subpage_subs.columns ul {
  column-count: 3;
}

.subpage_subs li {
  padding: 0 0 6px 0;
}

.subpage_subs a,
.subpage_subs button {
  color: grey;
  display: inline-block;
  font-family: 'Open Sans', Verdana, sans-serif;
  font-size: 0.94rem;
  font-weight: normal;
  letter-spacing: 0.5px;
  padding: 0;
}
/* .page-template-werke .subpage_subs ul a::after,
.page-template-k-text .subpage_subs ul a::after {
  content: " >";
}
.subpage_subs ul a.current::after {
  content: unset;
} */
.subpage_subs a.current,
.subpage_subs a:hover,
.subpage_subs button.current,
.subpage_subs button:hover {
  color: black;
}

/* .page-template-kuenstler-uebersicht h2 {
  grid-row: 2;
  grid-column: 2;
  color: grey;
} */

#content_wrap {
  grid-column: 1 / 5;
  grid-row: 3 / 6;
  /*! display: grid; */
  /*! grid-template-columns: repeat(3, 1fr); */
  /* background: #e3e1e1; */
  /*! grid-auto-rows: min-content; */
  padding: 29px 52px;
  /*! grid-template-rows: 52px; */
  padding-right: 22%;
}
#content_wrap > ul {
  column-count: 2;
  margin-top: 12px;
}

#content_wrap h2 {
  grid-column: 1/-1;
  margin: 0;
  font-size: 0.94rem;
  /* letter-spacing: 2px; */
  color: var(--blau);
}

#content_wrap.artist_grid a {
  /* margin-left: 22px; */
  /* font-family: Georgia; */
  font-size: 0.94rem;
  line-height: 25px;
  color: grey;
}
#content_wrap.artist_grid a:hover {
  color: black;
}
#content_wrap.artist_grid a.current {
  /* color: var(--blau); */
  /* font-weight: 600; */
  color: black;
}

#content_wrap_img {
  grid-column: 5 / -1;
  grid-row: 3 / 6;
  /* background: #e3e1e1; */
}
#content_wrap_img img {
  margin-top: 70px;
  max-width: 100%;
}

/* CONTENT */

.subpage_title {
  grid-column: 2;
  grid-row: 2;
}

.main_content {
  display: grid;
  grid-template-rows: min-content;
  grid-auto-rows: min-content;
  grid-column: 1/-1;
  grid-row: 3/6;
  /* background: #e3e1e1; */
  padding: 26px 104px;
}
.main_content > *:first-child {
  margin-top: 0;
}
/* .main_content.artist {
  grid-column: 4/-2;
} */

.main_content a {
  color: grey;
  transition: color 0.3s ease;
}

.main_content a:hover {
  color: black;
}
.main_content p {
  line-height: 20px;
  /* max-width: 650px; */
}
.main_content > *:first-child {
  margin-top: 0;
}
.main_item p:first-of-type {
  margin-top: 0;
}
.main_content_item {
  margin-bottom: 80px;
  position: relative;
}
.main_content p {
  margin-top: 16px;
}

.main_content .page_content > *:first-child {
  margin-top: 0;
}

/* KÜNSTLER CONTENT */

.k_content {
  grid-row: 4 / 6;
  grid-column: 3/-1;
  padding-right: 52px;
  padding-left: 52px;
  padding-bottom: 26px;
}

.schleider_galerie.k_content {
  margin-top: 12px;
}

.k_headline {
  /* grid-row: 3 / 4;
  grid-column: 3/-1;
  padding-right: 52px;
  padding-left: 52px;
  margin-top: 29px; */
  font-size: 0.94rem;
  /* letter-spacing: 2px; */
  margin: 1.6rem 0 0.3rem;
}

.k_headline:first-of-type {
  margin-top: 0;
}

.k_datum {
  margin: 0.3rem 0 1.4rem 0;
}

.single-ausstellung .wp-post-image {
  max-height: 70vh;
  object-fit: contain;
  object-position: left;
  min-height: 42vh;
  width: auto;
}

/* .k_content .year {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: -5px;
  margin-top: 12px;
} */

/* TABELLEN */

/* ausstellung */
.k_content.frame_1,
.k_content.frame_2 {
  display: grid;
  grid-template-columns: 12ch 1fr;
  grid-auto-rows: min-content;
  gap: 0.2rem;
}

.frame_1 .k_headline,
.frame_2 .k_headline,
.frame_1 p,
.frame_2 p {
  grid-column: 1/-1;
  max-width: unset;
}

/* NACH JAHREN */

.current_year {
  /* font-family: 'Open Sans', Verdana, sans-serif; */
  font-weight: bold;
  font-size: 0.94rem;
}

.year_content {
  grid-row: 4 / 6;
  grid-column: 3 / -1;
  /* background: #e3e1e1; */
  padding: 14px 52px;
  /* font-family: Georgia, serif; */
  font-size: 0.94rem;
}

.year_content p {
  /* font-family: Georgia, serif; */
  font-size: 0.94rem;
  line-height: 20px;
}

.year_content_entry {
  margin-bottom: 42px;
  margin-right: 10vw;
}

.year_content_entry::after {
  content: '';
  display: inline-block;
  height: 2px;
  width: 180px;
  margin-top: 30px;
  background: black;
}

.year_content_entry img {
  max-height: 50vh;
  width: auto;
}

.year_content h3 {
  font-family: 'Open Sans', Verdana, sans-serif;
  letter-spacing: 0;
  font-size: 16px;
}

.the_line,
.the_year {
  /* line-height: 1.38rem;
  font-size: 0.94rem; */
  display: inline-block;
  margin: 0.3rem 0;
}

/* .the_year {
  width: 12ch;
} */

.messe_item h3 {
  font-size: 0.94rem;
  font-weight: normal;
  /* letter-spacing: 0.5px; */
  margin: 0;
}

.schleider_galerie {
  grid-row: 4 / 6;
}

.galerie_wrap {
  min-height: calc(100vh - 206px);
}

/* NACH JAHREN SUBSEITE */

.page-template-nach_jahren_sub .wp-post-image {
  margin-top: 22px;
}

/* BESTELL BUTTON */

a.bestell_button {
  display: block;
  font-size: 0.94rem;
  line-height: 1.1;
  margin: 1.375rem 0 0;
  color: var(--blau);
}

/* PUBLIKATIONEN */

.single-publikation .k_content {
  margin-top: 12px;
}

.single-publikation .wp-post-image {
  max-height: 66vh;
  object-fit: contain;
  object-position: left;
  min-height: 42vh;
  width: auto;
}

.single-publikation h3 {
  font-size: 0.94rem;
  /* letter-spacing: 2px; */
  margin: 1rem 0 1rem;
}

.single-publikation h3:first-child {
  margin-top: 0;
}

.single-publikation p {
  /* line-height: 1.1; */
}

.single-publikation p.pub_untertitel {
  margin: 0 0 1.375rem;
}

.single-publikation h3:has(+ .pub_untertitel) {
  margin-bottom: 0;
}

/* PAGE DEFAULT */

.main_content > h2 {
  /* text-transform: uppercase; */
  margin-bottom: 42px;
  font-size: 0.94rem;
  letter-spacing: 2px;
  color: var(--blau);
}

.page-template-default h2 {
  margin-left: -52px;
}

.main_content > h3 {
  /* color: var(--blau); */
  font-size: 0.94rem;
  /* letter-spacing: 2px; */
  font-weight: normal;
  margin-bottom: 0;
}

.main_content > h3:nth-of-type(1) {
  margin-top: 0;
}

.main_content.with_img {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-column-gap: 32px;
  padding: 26px 52px;
}
.main_content.with_img > * {
  grid-column: 2;
  padding-right: 82px;
}

.main_content.with_img > h2 {
  margin-left: 0;
  grid-column: 1/-1;
}

.main_content.with_img > .the_img_wrap {
  grid-column: 1;
  grid-row: span 10;
  margin-left: 42px;
  box-sizing: border-box;
  padding: 0;
}

.main_content.with_img > .the_img_wrap > .wp-post-image {
  width: calc(100% - 42px);
  height: auto;
  border: white solid 3px;
  padding-right: 0;
}

.main_content.with_img .img_stuff {
  grid-column: 1;
  /* padding-left: 42px; */
  padding-right: 0;
}

.main_content.with_img .img_stuff > div:first-of-type {
  /* font-weight: bold; */
  margin: 0px 0 6px;
  font-size: 12px;
  line-height: 1.4;
}

.k_caption {
  margin: 0px 0 6px;
  font-size: 12px;
  line-height: 1.4;
}

.main_content.with_img .img_stuff > div:last-of-type {
  /* font-family: Georgia; */
  font-size: 12px;
}

/* READ MORE */

p.readmore {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.8s 0.2s;
}

.dada p.readmore {
  max-height: 100vh;
}

.page .wp-block-button a {
  background: transparent;
  border: none;
  color: var(--blau);
  padding: 0;
  /* font-weight: bold; */
  margin-top: 8px;
}
.page .wp-block-button {
  max-height: 100px;
  transition: max-height 0.4s;
  overflow: hidden;
}

.dada.page .wp-block-button {
  max-height: 0;
}

/* FOOTER  */

footer {
  background: #ffffff;
  grid-column: 1 / -1;
  position: relative;
  grid-row: 6;
}

footer ul {
  margin: 11px 10px;
  display: flex;
  justify-content: flex-end;
}

footer ul li {
  display: inline-block;
}

footer ul li:nth-of-type(1)::after {
  content: '/';
}

footer ul li:nth-of-type(2)::after {
  content: '/';
}

footer ul li a {
  font-size: 12px;
  padding: 0 4px;
}

.home footer {
  /* display: none; */
}

footer::before {
  /* content: " ";
  display: block;
  width: 4000px;
  height: 0px;
  background: #dcdcdc;
  background: darkgrey;
  position: absolute;
  top: -2px;
  left: -100%; */
}

.unsere_linie {
  grid-row: 3;
  grid-column: 1/-1;
  height: 2px;
  background-color: #e3e1e1;
  box-shadow: 0 2px 2px #e3e1e1;
  position: relative;
  top: -8px;
}
.home .unsere_linie {
  display: none;
}

/* RESPONSIVE */

@media only screen and (max-width: 1200px) {
  #start_list {
    grid-column: 2/7;
    line-height: 1;
  }
}

@media only screen and (max-width: 800px) {
  .start_link {
    font-size: 25px;
  }
  #start_list {
    grid-column: 1/8;
    margin: 0 1rem;
  }

  #main_wrap {
    grid-template-columns: 1rem repeat(5, 1fr) 1rem;
    grid-template-rows: 40px 74px min-content min-content 1fr 42px;
  }

  #main_nav {
    top: 4.2rem;
    right: 2.3rem;
  }

  #main_nav ul li a {
    line-height: 1.76rem;
    font-size: 1rem;
  }

  #burger_icon {
    margin-top: 47px;
  }

  .main_content.with_img {
    grid-template-columns: 1fr;
    padding: 26px 0rem;
  }

  .main_content.with_img > .the_img_wrap {
    grid-row: 2;
    margin-left: 0;
  }

  .main_content.with_img > * {
    grid-column: 1;
    padding-right: 0;
  }

  .main_content.with_img > .the_img_wrap > .wp-post-image {
    width: 100%;
    box-sizing: border-box;
  }

  .main_content > h2 {
    margin-bottom: 32px;
  }

  .page_content {
    margin-top: 1rem;
  }

  #content_wrap_img {
    display: none;
  }

  #content_wrap {
    grid-column: 2 / 7;
    padding: 29px 0;
    grid-template-rows: 52px;
    padding-right: 0;
  }

  #content_wrap.artist_grid a.current {
    color: grey;
  }

  a.page_title_link {
    grid-column: 2 / 7;
    padding-left: 0;
  }

  .schleider_galerie,
  .schleider_galerie.k_content {
    margin-left: 0;
  }
  .schleider_galerie {
    margin-top: 0rem;
  }

  .k_content {
    grid-column: 2/-2;
    padding-right: 0;
    padding-left: 0;
  }

  .single-ausstellung .wp-post-image,
  .single-publikation .wp-post-image {
    min-height: unset;
    width: 100%;
    height: auto;
  }

  .post-type-archive-ausstellung .subpage_subs,
  .single-ausstellung .subpage_subs,
  .post-type-archive-publikation .subpage_subs,
  .single-publikation .subpage_subs {
    display: none;
  }

  .kuenstler-template-default .subpage_subs {
    grid-column: 1 / 8;
    grid-row: 4 / 5;
  }

  .k_content {
    grid-row: 5 / 6;
  }

  .schleider_galerie,
  .schleider_galerie.k_content {
    grid-column: 2/-2;
    grid-row: 5;
  }

  .schleider_galerie .galerie_item {
    padding-right: 0;
  }
}

/* fin */
