/*   @package ParlamentderOrganismen26   */

:root {
  --tab_base: 3.4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: SofiaProRegular;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3px;

  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

/* ###### GLOBAL STYLES ##### */

h1,
h2,
ul,
p {
  margin: 0;
  padding: 0;
}
h3 {
  margin-top: 0;
}

a {
  text-decoration: none;
  color: black;
  position: relative;

  &::after {
    content: ' ';
    position: absolute;
    left: 0px;
    bottom: -1px;
    height: 2px;
    width: 0%;
    background: black;
    transition: width 0.175s ease;
  }

  &:hover::after {
    width: 100%;
  }
}

h1 {
  text-transform: uppercase;
  font-size: 32px;
}

h2 {
  text-transform: uppercase;
  font-size: 25px;
  margin-bottom: 12px;
}

.main_text h2 {
  margin-top: 20px;
}

.main_text {
  line-height: 23px;
}

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

.main_text p {
  margin: 0px 0 20px 0;
}

.main_text ul {
  margin-left: 12px;
}

.main_nav {
  letter-spacing: 0px;
}

/* ###### PICTURES ##### */

.wp-block-image.size-medium {
  margin-left: 0;
}

.wp-block-image figcaption {
  margin-top: -3px;
  margin-bottom: 0em;
  font-weight: 400;
  font-size: 12px;
}

.wp-block-image .alignright figcaption {
  margin-top: -1px;
  margin-bottom: 0em;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

.wp-block-video {
  max-width: 300px;
}

.wp-block-image img {
  height: auto;
}

.main_text .wp-block-image {
  margin-top: 1em;
}

.wp-block-image > a::after {
  content: unset;
}

.wp-block-gallery.no_margin_auto.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) {
  margin-bottom: 0;
}

/* ###### MITGLIEDER ##### */

.member_animal img,
.member_human img {
  width: 9vw;
  height: 9vw;
  box-sizing: border-box;
  border: 1px solid #339999;
  object-fit: cover;
}

.main_image img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border: 0px solid #339999;
}

.member_animal {
  position: relative;
  margin-right: 2px;
}

.member_human {
  position: relative;
  margin-left: 2px;
}

.member_animal::after {
  content: '';
  position: absolute;
  top: 48.5%;
  width: 12px;
  height: 3%;
  background: #339999;
  z-index: -1;
  right: -12px;
}

.member_animal.neobiota::after,
.member_animal.empty::after {
  content: unset;
}

.mem_cap {
  position: absolute;
  height: 50px;
  bottom: -2px;
  overflow: hidden;
  transition:
    bottom 0.6s,
    opacity 0.6s;
  transition-delay: 1s;
  z-index: -1;
  hyphens: auto;
  opacity: 0;
}

.member_animal:hover .mem_cap,
.member_human:hover .mem_cap {
  bottom: -50px;
  transition-delay: 0s;
  opacity: 1;
}

h2.member_hl {
  grid-column-start: 3;
  grid-column-end: span 13;
  margin-top: 40px;
}

h2.member_hl > div:nth-child(1) {
  display: inline-block;
}

.too_old,
.member_wrap.too_old {
  display: none;
}

.too_old.show_anyway {
  display: block;
}
.member_wrap.too_old.show_anyway {
  display: grid;
}

.mehr_jahre {
  grid-column-start: 3;
  grid-column-end: 5;
  margin: 22px 0 28px 0;
  padding: 9px 12px 5px 0px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  display: grid;
  grid-template-columns: min-content auto;
  grid-template-rows: min-content;
  text-transform: uppercase;
  background: none;
  border: none;
}

.mehr_jahre div {
  position: relative;
  text-align: left;
}

.mehr_jahre div::after {
  content: ' ';
  position: absolute;
  left: 0px;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.175s ease;
}

.mehr_jahre div:hover::after {
  width: 100%;
}

/* ###### LANGUAGE SWITCHER ##### */

.main_langswitch li.lang-item {
  list-style: none;
}

.main_langswitch li.lang-item a {
  font-weight: bold;
  text-transform: uppercase;
}

/* ###### NAVIGATOR ##### */

.main_nav ul.menu {
  list-style: none;
}

.main_nav ul.menu li {
  margin-bottom: 7px;
}

.main_nav ul.menu .sub-menu {
  margin-top: 7px;
  margin-left: 12px;
}

.main_nav ul.menu .sub-menu li {
  margin-bottom: 5px;
}

.main_nav ul.menu li a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  position: relative;
}

.main_nav ul.menu li a::after {
  content: ' ';
  position: absolute;
  left: 0px;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.175s ease;
}

.main_nav ul.menu li a:hover::after {
  width: 100%;
}

.main_nav ul.menu .sub-menu li a {
  text-transform: none;
}

/* .main_nav ul.menu > li:nth-of-type(3),
.main_nav ul.menu > li:nth-of-type(4),
.main_nav ul.menu > li:nth-of-type(6),
.main_nav ul.menu > li:nth-of-type(9),
.main_nav ul.menu > li:nth-of-type(12) {
  margin-bottom: 18px;
} */

li.menu-item-has-margin {
  margin-top: 18px;
}

.main_nav ul.menu li.current-menu-item > a::after,
.main_nav ul.menu li.current-page-ancestor > a::after {
  width: 100%;
}

/* Collapse */
.main_nav .sub-menu li {
  display: none;
}

.main_nav ul.menu .sub-menu .sub-menu li {
  display: none;
}

.current-menu-parent .sub-menu li {
  display: block;
}

.home .current-menu-item .sub-menu li {
  display: none;
}

.current-menu-item .sub-menu li {
  display: block;
}
.main_nav .sub-menu li .current-menu-item .sub-menu li {
  display: block;
}
li.menu-item-has-children .sub-menu li.current-menu-item .sub-menu li {
  display: block;
}

/* Schülerinnenprojekt */
.page-id-62 .sub-menu li .sub-menu li,
.page-id-2652 .sub-menu li .sub-menu li {
  display: block;
}

/* ###### LAYOUT ##### */

.main_wrap {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: min-content repeat(9, auto);
  grid-gap: 8px;
  width: 100vw;
  max-width: 1470px;
  min-height: calc(100vh - 33px);
  padding: 4vw 4vw 5rem 4vw;
  box-sizing: border-box;
}

.main_home {
  grid-column-start: 1;
  grid-column-end: -2;
}

.main_title {
  grid-column-start: 1;
  grid-column-end: -2;
}

.main_burger {
  font-size: 42px;
  cursor: pointer;
}

.main_langswitch {
  grid-column-start: -2;
  grid-column-end: -1;
  text-align: right;
}

.main_title h1 {
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 22px;
}

.main_nav {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: -1;
}

.main_nav ul {
  list-style: none;
}

.sub_title {
  grid-column-start: 3;
  grid-column-end: -2;
}

.main_image {
  grid-column-start: span 4;
}

.main_text {
  grid-column-start: 3;
  grid-column-end: -2;
}

.main_wrap h2.sub_hl {
  grid-row-start: 4;
  grid-column-start: 3;
  grid-column-end: -1;
}
.main_wrap {
  & > .member_animal:nth-of-type(2n + 1) {
    grid-column-start: 3;
    grid-column-end: span 2;
  }

  & > .member_animal:nth-of-type(2n + 2) {
    grid-column-start: 8;
    grid-column-end: span 2;
  }

  & > .member_human:nth-of-type(2n + 2) {
    grid-column-start: 5;
    grid-column-end: span 2;
  }

  & > .member_human:nth-of-type(2n + 1) {
    grid-column-start: 10;
    grid-column-end: span 2;
  }
}
.wp-block-image {
  margin-bottom: 1em;
  margin-left: 0;
  margin-top: 3em;
}

/* ###### FRAKTION ##### */

.main_wrap.fraktion {
  grid-template-columns: repeat(2, 1fr) repeat(14, 0.5fr) repeat(1, 1fr);
  grid-template-rows: min-content auto auto auto auto auto;
  grid-auto-rows: auto;
}

.main_title {
  grid-column-start: 1;
  grid-column-end: -2;
  position: relative;
}

.main_burger {
  margin-left: -5px;
  font-size: 52px;
  cursor: pointer;
  margin-top: -13px;
  display: none;
}

.fraktionen .main_burger {
  display: block;
  /* position: absolute;
  top: 72px; */
}

.main_langswitch {
  grid-column-start: -2;
  grid-column-end: -1;
  text-align: right;
}

.fraktion .main_title.gray h1:nth-of-type(1) {
  /* color: rgb(134, 134, 134) */
}

.main_nav {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: -1;
}

.main_nav ul {
  list-style: none;
}

.main_image {
  margin-bottom: 40px;
  width: 28.57%;
  float: left;
  margin-right: 28px;
}

.fraktion .main_text {
  grid-column-start: 3;
  grid-column-end: -2;
}

.fraktion .wp-block-verse {
  line-height: 12px;
  font-size: 12px;
  font-family: inherit;
  margin-bottom: 32px;
  display: none;
}

/* ###### FRAKTIONEN ##### */

.main_wrap.fraktionen {
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: min-content repeat(6, min-content);
}

.fraktionen .main_nav {
  display: none;
}

.main_nav.show {
  display: block;
}

.fraktionen .main_space {
  grid-row-start: 3;
  grid-row-end: -1;
}

.fraktionen .main_prepic {
  grid-column-start: span 2;
  position: relative;
  overflow: visible;
  height: 37vh;
  text-align: center;
  max-height: 25vw;
}

.fraktionen .main_prepic a {
  position: unset;
}

.fraktionen .main_prepic a::after {
  content: unset;
}

.fraktionen .main_prepic img {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: contain;
  object-position: bottom;
}

.gif_cap {
  position: absolute;
  height: 32px;
  bottom: -40px;
  width: 100%;
  text-align: center;
  overflow: hidden;
  font-size: 1.4vw;
  line-height: 17px;
  transition:
    bottom 0.3s,
    opacity 0.3s;
  z-index: 10;
  overflow: visible;
  opacity: 0;
}

.main_prepic:hover .gif_cap {
  bottom: -5px;
  opacity: 1;
}

/* ###### BÜRGERINNEN LISTE ##### */

.main_text.bgr {
  display: grid;
  grid-template-columns: repeat(4, auto);
  font-size: 0.8rem;
  line-height: 18px;
}

.bgr_filter {
  grid-column-start: 1;
  grid-column-end: -1;
  font-size: 12px;
}

.bgr_filt_ele {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  position: relative;
}

.bgr_filt_ele.klickt::after {
  width: 100%;
}

.bgr_filt_ele::after {
  content: ' ';
  position: absolute;
  left: 0px;
  bottom: 0px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.175s ease;
}

.bgr_filt_ele:hover::after {
  width: 100%;
}

.bgr_head {
  grid-column-start: span 4;
  font-size: 14px;
  padding: 9px 0px 3px 0px;
  margin-top: 32px;
  border-top: 3px solid black;
  text-transform: uppercase;
}

.bgr_subhead {
  border-bottom: 3px solid black;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.bgr_column {
  text-indent: -5px;
  padding-left: 5px;
  padding-right: 5px;
}

/* ###### FRAKTION MEMBERS NEW 2026 ##### */

.member_wrap {
  grid-column: 3/12;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 5rem;

  & > div {
    display: flex;
    gap: 8px;
  }
}

/* ###### SHORTCODES ##### */

/* MITMACHEN BUTTON */

.mitmachen {
  display: inline-block;
  padding: 9px 18px;
  font-weight: bold;
  position: relative;
  background: #339999;
  color: white;
  font-size: 14px;
  margin: 16px 0 28px 0;
  text-align: center;
}

.mitmachen a {
  text-transform: uppercase;
}

.mm_info {
  width: 0px;
  height: 0px;
  overflow: hidden;
  color: black;
  font-size: 16px;
  transition:
    width 0.2s ease,
    height 0.6s ease,
    padding-top 1.2s ease;
  transition-delay: 1.4s;
  padding-top: 0px;
}

.mitmachen:hover .mm_info {
  width: 250px;
  height: 55px;
  padding-top: 8px;
  transition-delay: 0s;
}

/* MEHR LESEN */

.mehr_content {
  display: none;
}

.mehr {
  display: none;
}

.mehr_zeigen {
  display: inline;
}

.mehr,
.weniger {
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
}

.mehr::after,
.weniger::after {
  content: ' ';
  position: absolute;
  left: 0px;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.175s ease;
}

.mehr:hover::after,
.weniger:hover::after {
  width: 100%;
}

/* Mail Button */

.mail_button {
  display: inline-block;
  padding: 9px 12px 5px 12px;
  position: relative;
  background: #339999;
  cursor: pointer;
  margin-right: 6px;
}

.mail_button a {
  font-weight: bold;
  color: white;
  font-size: 14px;
}

/* Fraktionsliste */

.fractions_list {
  margin: -4px 0 28px 0;
}

/* Herunterladen */

.wp-block-file .wp-block-file__button {
  background: transparent;
  border-radius: 2em;
  color: black;
  font-size: 13px;
  padding: 0;
}

.wp-block-file a.wp-block-file__button:hover {
  color: black;
}

/* Audio */
.wp-block-audio {
  margin: 42px 0;
}

/* ###### KONTAKT FORMULAR ##### */

.wpcf7-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(270px, 1fr));
  grid-gap: 12px;
  max-width: 720px;
  margin: 30px 0;
}

.wpcf7-form p {
  margin: -4px 0 15px 0;
}

.wpcf7-form input {
  border: 2px solid black;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
}

.wpcf7-form p:nth-of-type(8),
.wpcf7-form p:nth-of-type(9),
.wpcf7-form p:nth-of-type(12) {
  grid-column-start: span 2;
}

.wpcf7-form p:nth-of-type(12) {
  text-align: center;
}

.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 2px solid black;
}

.captcha-image {
  border: 2px solid black !important;
}

.captcha-image svg {
  width: 35px !important;
  height: 35px !important;
}

.captcha-image .cf7ic_instructions span {
  color: #339999 !important;
}

.captcha-image label > input:checked + svg,
.captcha-image label > input:focus + svg {
  border-color: black !important;
}

.wpcf7-form-control.wpcf7-submit {
  padding: 10px 86px;
  border: 2px solid black;
  background: #339999;
  color: white;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
}

.wpcf7-form > p:nth-child(7) > label {
  height: 30px;
  display: flex;
  overflow: hidden;
  border: 2px solid black;
  font-weight: normal;
  font-size: 10px;
}

.wpcf7-form > p:nth-child(7) > label span {
  padding: 3px 10px;
}

.wpcf7-form-control.wpcf7-file {
  border: none;
  padding: 0;
}

div.wpcf7-response-output {
  grid-column-start: span 2;
}

div.wpcf7-mail-sent-ok {
  border: 2px solid #339999;
}

.wpcf7-list-item label {
  display: block;
  position: relative;
  padding-left: 42px;
  font-weight: normal;
  padding-top: 6px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 11px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.wpcf7-list-item label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  width: 30px;
  border: 2px solid black;
  font-size: 41px;
}

.checkmark:after {
  content: '\00D7';
  position: absolute;
  transition: transform 0.2s ease;
  transform: scale(0);
}

.wpcf7-list-item label input:checked ~ .checkmark:after {
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.34, 2.26, 0.64, 1);
}

.wpcf7-list-item label .checkmark:after {
  top: 0px;
  left: 3px;
}

@-moz-document url-prefix() {
  /* Extrawurst */
  .wpcf7-list-item label .checkmark:after {
    top: 3px;
  }
}

span.wpcf7-list-item:nth-of-type(1) {
  margin: 0;
}

span.wpcf7-list-item {
  height: 30px;
}

/* WO */
.wo_prepic {
  grid-column-start: span 3;
  margin-bottom: 42px;
}

.wo_prepic .wp-post-image {
  width: 70%;
  height: auto;
}

.wo_prepic h3 {
  margin-top: 20px;
}

.wo_prepic a::after {
  height: 0;
}

/* ###### WAHLOMAT ##### */

.main_text.wlmt {
  grid-column-start: 4;
  grid-column-end: -3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid black;
  border-radius: 12px;
  line-height: 25px;
  padding: 12px 32px;
}

.main_text.wlmt a {
  position: relative;
  display: grid;
  justify-items: center;
}

.main_text.wlmt .antworten a {
  margin: 22px;
}

.main_text.wlmt a::after {
  content: ' ';
  position: relative;
  top: 14px;
  left: unset;
  bottom: unset;
  height: 22px;
  width: 22px;
  border: 2px solid black;
  border-radius: 50%;
  background-color: white;
  transition: background-color 0.6s ease;
}

.main_text.wlmt a:hover::after {
  background-color: black;
}

.main_text.wlmt .wp-block-column {
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-template-wahlomat .main_text > p:nth-child(1) {
  border-bottom: 3px solid black;
  font-weight: bold;
  padding-bottom: 6px;
}

#wlmt_back {
  display: none;
}

.antworten {
  display: flex;
  justify-content: space-around;
}

#wlmt_back {
  position: unset;
  display: block;
  text-align: left;
  margin: 40px 0 0 -20px;
}

#wlmt_back::after {
  content: unset;
}

/* PRE FOOTER */
/* .pre_footer {
  position: relative;
  bottom: 33px;
  height: 13px;
  width: 100%;
  max-width: 1470px;
  display: flex;
  justify-content: flex-end;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  border-top: 3px solid;
  padding-top: 17px;
}

.pre_footer > div {
  margin: 0 4vw 0 4vw;
}

.pf_wahlo {
  flex-grow: 1;
  opacity: 0;
}

.home .pf_wahlo {
  opacity: 1;
}

.pf_burgerlist {
}

.pf_gebiete {
  position: relative;
  height: 22px;
}

.pf_cities {
  list-style: none;
  position: absolute;
  bottom: 22px;
  left: -4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pf_cities li {
  padding: 0 4px;
  background: white;
}

.pf_gebiete .pf_cities li {
  height: 0;
  overflow: hidden;
  transition: height 0.8s ease;
  transition-delay: 1s;
  white-space: nowrap;
}

.pf_gebiete:hover .pf_cities li {
  transition-delay: 0s;
  height: 30px;
}

.pf_cities li a {
  position: relative;
}

.pf_cities li a::after {
  content: ' ';
  position: absolute;
  left: 0px;
  bottom: -1px;
  height: 2px;
  width: 0%;
  background: black;
  transition: width 0.175s ease;
}

.pf_cities li a:hover::after {
  width: 100%;
} */

/* ###### VIDEO ##### */

.wp-block-video {
  max-width: unset;
}

/* ###### TAB GROUPS ##### */

.tab_wrap {
  display: grid;
  margin-left: calc(var(--tab_base) * -1);
  /* border-bottom: 3px solid; */

  & > div {
    margin-left: var(--tab_base);
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.2s ease,
      margin-bottom 0.2s ease;
  }

  &.open {
    & > div {
      margin-bottom: 2rem;
    }
    button::before {
      transform: rotate(-90deg);
    }
  }

  button {
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    border: none;
    background-color: transparent;
    height: 4rem;
    text-transform: uppercase;

    &::before {
      content: '';
      display: block;
      width: var(--tab_base);
      height: calc(var(--tab_base) * 0.5);
      height: 1.4rem;
      background: url(../img/arrow-tab.svg) center / contain no-repeat;
      transform: rotate(90deg);
      transition: transform 0.25s ease;
    }

    h3 {
      margin: 0;
      font-weight: 600;
      text-align: left;
    }
  }

  &::after {
    content: '';
    width: calc(100% - var(--tab_base));
    height: 3px;
    background-color: black;
    display: block;
    margin-left: var(--tab_base);
  }
}

/* ###### RESPONSIVE ##### */

/* Big Screen */
@media only screen and (min-width: 1470px) {
  .gif_cap {
    font-size: 20px;
  }

  .member_animal img,
  .member_human img {
    width: 8rem;
    height: 8rem;
  }
}

/* iPad */
@media only screen and (max-width: 768px) {
  .main_text a::after {
    width: 100%;
  }

  .main_wrap.fraktionen {
    grid-template-columns: repeat(6, 1fr);
  }
  .main_wrap.fraktion {
    grid-template-columns: repeat(1, 1fr) repeat(14, 0.5fr) repeat(1, 1fr);
    grid-template-rows: min-content repeat(10, auto);
  }
  .main_wrap {
    padding: 4vw 4vw 4vw 4vw;
  }

  .fraktionen .main_prepic {
    /* max-height: 25vw; */
    max-height: unset;
    position: unset;
  }
  .fraktionen .main_prepic::after {
    content: unset;
  }
  .fraktionen .main_prepic img {
    width: 85%;
    height: auto;
    box-sizing: border-box;
    /* border: 2px solid #339999; */
  }
  .main_home {
    grid-column-end: -1;
    grid-row: 1;
    font-size: 1.2rem;
  }
  h1 {
    font-size: 22px;
  }
  .main_title {
    grid-column-end: -4;
  }
  .main_burger {
    display: block;
  }
  .main_langswitch {
    grid-column-start: -4;
  }
  .main_nav {
    display: none;
    grid-column-end: -1;
    margin-bottom: 30px;
  }
  #menu-secondary-navigation-menu li a,
  #menu-secondary-navigation-menu-english li a {
    font-size: 10px;
  }
  #menu-secondary-navigation-menu,
  #menu-secondary-navigation-menu-english {
    padding: 6px 4vw 0 4vw;
  }

  .main_text.wlmt {
    /* grid-column-start: 4; */
    /* grid-column-end: -3; */
    grid-column-start: 2;
    grid-column-end: -2;
  }

  .main_text {
    hyphens: auto;
    grid-column-start: 1;
    grid-column-end: -1;
  }
  .fraktion .main_text {
    grid-column-start: 1;
    grid-column-end: -1;
  }
  h2.member_hl {
    grid-column-start: 1;
    grid-column-end: -1;
    margin-top: 40px;
    font-size: 15px;
  }
  .member_animal,
  .member_human {
    grid-column-start: span 3 !important;
  }
  .member_animal::after {
    width: 40px;
  }
  .mem_cap {
    bottom: -52px;
    font-size: 12px;
    hyphens: auto;
  }
  .wpcf7-form {
    grid-template-columns: repeat(1, minmax(270px, 1fr));
  }
  .wpcf7-form p:nth-of-type(8),
  .wpcf7-form p:nth-of-type(9),
  .wpcf7-form p:nth-of-type(12) {
    grid-column-start: span 1;
  }
  .gif_cap {
    bottom: 6px;
    font-size: 14px;
    text-align: inherit;
    width: unset;
    position: relative;
  }
  .main_prepic:hover .gif_cap {
    bottom: 0px;
  }
  .pre_footer {
    bottom: 0;
    font-size: 12px;
  }
  .pf_gebiete .pf_cities li {
    height: 25px;
  }
  .main_footer {
    position: relative;
    bottom: 0;
  }
  .page-template-page-fraktion .pre_footer {
    position: relative;
    padding-top: 10px;
  }
  .pre_footer {
    justify-content: space-between;
  }
  .pf_burgerlist {
    max-width: 30vw;
  }
  .pf_cities {
    /* bottom: 22px; */
    /* flex-direction: column; */
    top: 24px;
    flex-direction: column-reverse;
  }

  .pf_cities {
    /* top: 24px; */
    bottom: -275px;
  }
  .pf_wahlo {
    /* flex-grow: 0; */
    display: none;
  }

  .mm_info {
    width: 230px;
    height: 55px;
    padding-top: 6px;
  }

  .wo_prepic {
    grid-column-start: span 5;
  }

  .wo_prepic h3 {
    margin-top: 4px;
  }

  .tab_wrap {
    margin-left: 0;
    & > div {
      margin-left: 0;
    }
    &::after {
      width: 100%;
      margin-left: 0;
    }
    & button {
      &::before {
        margin-right: 0.4rem;
      }
    }
  }
}

/* Smartphone  */
@media only screen and (max-width: 415px) {
  .main_wrap {
    padding-bottom: 60px;
    overflow-x: hidden;
  }
  .main_title {
    /* grid-column-end: -4; */
    grid-column-end: -1;
    display: flex;
    justify-content: space-between;
  }

  .member_animal {
    grid-column-start: 3 !important;
    grid-column-end: span 4 !important;
  }
  .member_human {
    grid-column-start: 7 !important;
    grid-column-end: span 4 !important;
  }
  .fraktionen .main_space {
    display: none;
  }

  .fraktionen .main_prepic {
    box-sizing: border-box;
  }

  .main_langswitch {
    grid-column-start: -4;
    grid-column-start: 1;
    grid-row-start: 1;
  }

  .main_wrap.fraktion {
    grid-template-columns: 0px 0px repeat(9, 0.5fr);
    grid-template-rows: min-content repeat(10, auto);
    grid-gap: 16px;
    grid-row-gap: 32px;
  }
  .main_wrap.fraktionen {
    grid-template-columns: repeat(4, 1fr);
  }

  .main_image {
    margin-bottom: 0px;
    width: 33.33%;
    margin-right: 18px;
  }

  .mm_info {
    width: 100%;
    height: 100%;
    padding-top: 6px;
    hyphens: none;
  }

  .wp-block-image .alignright {
    float: unset;
    margin: 0.5em 0 0.5em 0em;
  }
}

/* iPad Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .gif_cap {
    bottom: 19px;
    font-size: 14px;
    text-align: inherit;
    width: unset;
    position: relative;
  }
  .mem_cap {
    bottom: -52px;
    font-size: 12px;
    hyphens: auto;
  }
  .main_prepic:hover .gif_cap {
    bottom: 0px;
  }
  .fraktionen .main_prepic::after {
    content: unset;
  }
  .pre_footer {
    bottom: 0;
    font-size: 12px;
  }
  .pf_gebiete .pf_cities li {
    height: 25px;
  }
  .main_footer {
    position: relative;
    bottom: 0;
  }
  .page-template-page-fraktion .pre_footer {
    position: relative;
    padding-top: 10px;
  }
  .pre_footer {
    justify-content: space-between;
  }
  .pf_burgerlist {
    max-width: 30vw;
  }
  .pf_cities {
    /* bottom: 22px; */
    /* flex-direction: column; */
    top: 24px;
    flex-direction: column-reverse;
  }

  .pf_cities {
    /* top: 24px; */
    bottom: -105px;
  }
  .pf_wahlo {
    /* flex-grow: 0; */
    display: none;
  }
}

/* fin */
