/*
Theme Name: Prinz Arminius
Author: Schiemer Software GmbH
Author URI: https://schiemer-software.com/
Description: Prinz Arminius Theme
Version: 2.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  src: url('fonts/Inter-VariableFont_opszwght.woff2') format('woff2');
}

* {
  font-family: 'Inter', sans-serif;
  /*outline: 1px solid #f00 !important;*/
}
:root {
  --white: #ffffff;
  --always-white: #ffffff;
  --very-light-grey: #EDEDED;
  --light-grey: #707070;
  --text-grey: #C1C1C1;
  --darker-grey: #868686;
  --black: #272121;
  --always-black: #000000;
  --grid-grey: #242424;

  --site-width: 1200px;
  --mobile-padding: 30px;

  --font-weight-bold: 700;
  --font-weight-semibold: 600;
  --font-weight-medium: 500;
  --font-weight-regular: 400;

  --footer-wrap-min-width: 200px;
}

html, body {
  position: relative;
  overflow-x: hidden;
}
html {
  margin-top: 40px;
}

a {
  text-decoration: underline;
  color: var(--black);
}





.only-visible-on-mobile {
  display: none;
}
.word-break-on-mobile {
  word-break: keep-all;
}

/* Header */
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  padding: 20px 40px;
  font-size: 18px;
  user-select: none;
  max-width: var(--site-width);
  margin: 0 auto;
}
.header-nav-container {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}
.header-menu {
  list-style-type: none !important;
  display: flex;
  flex-direction: row;
  gap: 30px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}
.header-nav-links a {
  text-decoration: none;
  color: var(--black);
}
/* when header-nav-links has .active, animate coming in from the right */
.header-nav-links {
  transform: translateX(500px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.45, 0.46, 0.45, 0.94), opacity 0.4s ease;
}
.header-nav-links.active {
  transform: translateX(0);
  opacity: 1;
}
.header-navigation {
  text-decoration: underline;
  cursor: pointer;
  font-weight: var(--font-weight-semibold);
}

/* page.php */
.content-area {
  padding-inline: 50px;
  max-width: var(--site-width);
  margin: 0 auto;
  color: var(--black);
}

/* Home page */
h1 {
  font-size: 95px;
  font-weight: var(--font-weight-regular);
  margin: 0;
}
.home-h1-row p {
  min-width: 370px;
}
h2 {
  font-size: 40px;
  font-weight: var(--font-weight-semibold);
}
h3 {
  font-size: 34px;
  font-weight: var(--font-weight-semibold);
}
.h3-text {
  max-width: 900px;
}
h3#kontakt {
  font-size: 38px;
}
h6 {
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  margin: 0;
  padding: 0;
}
.home-main-img, .home-main-img img {
  position: relative;
  width: 100vw;
  left: calc(-50vw + 50%);
  margin: 0;
}
.home-sponsors {
  display: grid;
  grid-gap: 1px;
  border: 1px solid var(--light-grey);
  /* make so that between each gird item is also a border */
  background-color: var(--light-grey);
}
.home-sponsors figure {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 298px;
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: var(--white);
}
.home-sponsors img {
  padding-inline: 10px;
}
.home-sponsors a {
  cursor: default;
}
.empty-sponsor-item {
  background-color: var(--white);
  /* make it on the right and on the bottom 1 pixel wider to cover the border */
  width: calc(100% + 1px);
  height: calc(100% + 1px);
}
.pink-circle {
  width: 18px;
}
.home-prinzenpaar > div {
  max-width: 50%;
  padding-right: 50px;
  line-height: 22px;
}
.home-prinzenpaar figure, .home-prinzenpaar-img, .home-prinzenpaar-img img {
  margin: 0;
  width: 100%;
}
.home-form {
  max-width: 800px;
  margin: 0 auto;
}
.home-form-links a {
  font-size: 15px;
  font-weight: var(--font-weight-semibold);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--black);
  background-color: var(--white);
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
}
/* make border 1px bigger */
.home-form-links a:hover {
  border-width: 2px;
  padding: 11px 23px;
}



/* Termine Widget */
.prinz-arminius-termine-table {
  width: calc(100% + 100px);
  margin-inline: -50px;
  color: var(--black);
  border-collapse: collapse;
  border-spacing: 0;
}
.prinz-arminius-termine-table tr {
  font-weight: var(--font-weight-semibold);
  font-size: 18px;
}
.prinz-arminius-termine-table td:first-child {
  padding-left: 50px;
}
.prinz-arminius-termine-table td:last-child {
  padding-right: 50px;
}
.prinz-arminius-termine-table td {
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding-block: 20px;
}
.date-cell {
  font-size: 38px;
}
.location-cell {
  padding-left: 200px;
}
.location-cell div {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  max-width: 200px;
}
.location-cell img {
  margin-top: 2px;
  width: 18px;
}
.prinz-arminius-termine-button {
  font-size: 15px;
  margin-top: 60px;
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--black);
  background-color: var(--white);
  color: var(--black);
  display: block;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}
/* generated style for termin-gefolge.php */
.prinz-arminius-termine-button:hover {
  border-width: 2px;
  padding: 11px 23px;
}
.prinz-arminius-termine-table .info-toggle-cell {
  width: 1%;
  text-align: right;
  white-space: nowrap;
}
.prinz-arminius-termine-info-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0;
}
.prinz-arminius-termine-info-toggle:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.prinz-arminius-termine-info-toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}
.prinz-arminius-termine-info-toggle.is-open .prinz-arminius-termine-info-toggle-icon {
  transform: rotate(180deg);
}
.prinz-arminius-termine-table .prinz-arminius-termin-row.has-open-info > td {
  border-bottom: none;
}
.prinz-arminius-termine-table .prinz-arminius-termin-info-row td {
  border-top: none;
  padding-bottom: 40px;
}
.prinz-arminius-information-content {
  display: block;
  max-width: 800px;
}

/* protected page */
.password-protected-article {
  margin: 0 auto;
  width: 400px;
}
.password-protected-title {
  font-size: 48px;
  font-weight: var(--font-weight-semibold);
  margin-bottom: 20px;
}
.post-password-form input[type="password"] {
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--black);
  border-radius: 10px;
  width: 350px;
  height: 40px;
  padding: 0 15px;
  margin-bottom: 20px;
}
.post-password-form input[type="submit"] {
  font-family: 'Inter', sans-serif;
  border: none;
  border-radius: 100px;
  height: 40px;
  width: fit-content;
  background-color: var(--black);
  color: var(--white);
  padding-inline: 20px;
  cursor: pointer;
}
.post-password-form p {
  display: flex;
  flex-direction: column;
}
.post-password-form p:nth-child(2) {
  display: none;
}
.hidden {
  display: none !important;
}


/* Footer */
footer hr {
  margin-bottom: 50px;
  max-width: var(--site-width);
  margin-inline: auto;
}
footer a {
  text-decoration: unset;
}
.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  padding-inline: 50px;
  max-width: var(--site-width);
  margin: 0 auto;
}
.footer-left {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 60px;
}
.footer-contact, .footer-legal, .footer-links, .footer-insider-login {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: var(--font-weight-semibold);
  list-style-image: url('assets/ol-bullet.svg');
  padding-left: 23px;
}
.footer-contact {
  text-decoration: underline;
  list-style-image: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
}
.footer-links {
  margin: 0;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.footer-social img {
  width: 35px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;

}

.footer-bottom-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding-inline: 50px;
  max-width: var(--site-width);
  margin: 0 auto;
}
.footer-goto-top {
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
}
.footer-goto-top img {
  margin-right: 5px;
}


/* WPForm customization */
.wpforms-container {
  width: 100%;
  padding: 0;
  margin-top: 40px;
}
.wpforms-container input, .wpforms-field-label-inline {
  font-family: 'Inter', sans-serif !important;
}
.wpforms-title {
  display: flex;
  padding-bottom: 0px !important;
  overflow: hidden !important;
}
.wpforms-title label {
  font-size: 18px;
  min-width: fit-content;
  padding-top: 20px;
}
.wpforms-title input {
  font-size: 12px;
  padding-block: 0;
  border: none;
  margin-top: 22px !important;
}
.wpforms-title input::placeholder {
  color: var(--tennis-red);
}
.wpforms-submit {
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: var(--black);
  background-color: var(--white);
  border: 1px solid var(--black);
  border-radius: 25px;
  padding: 12px 24px;
}
.wpforms-submit:hover {
  cursor: pointer;
  border-width: 2px;
  padding: 11px 23px;
}
.wpforms-form {
  font-family: 'Inter', sans-serif;
  font-size: 1em;
  color: var(--black);
}
::placeholder{
  color: var(--black);
}
.wpforms-field-medium {
  color: var(--black);
  background-color: var(--white);
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 10px;
  max-width: none !important;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field-medium:focus {
  outline: none;
}
.wpforms-field-full-border textarea {
  color: var(--black);
  background-color: var(--white);
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 10px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
/* textarea placeholder color should be grey */
.wpforms-field-full-border textarea::placeholder {
  color: var(--black);
}
.wpforms-field-full-border textarea:focus {
  outline: none;
}
.wpforms-field-full-width {
  flex: 1 0 100% !important;
}
.wpforms-field-half-width input {
  width: 100% !important;
}
.wpforms-container textarea.wpforms-field-medium {
  height: 250px !important;
}
.wpforms-field-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 25px;
}
.wpforms-field {
  flex: 1 0 45%;
  padding-top: 0 !important;
  min-width: 250px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field ul {
  list-style: none;
  padding-left: 0;
  padding-bottom: 20px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-mitgliedsform label {
  vertical-align: middle !important;
}
.wpforms-field ul {
  display: inline;
  list-style: none;
  padding-left: 0;
  padding-bottom: 20px;
  margin-bottom: 5px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-field li {
  display: inline-block;
  padding-block: 8px !important;
  margin: 5px;
  border: 1px solid var(--white) !important;
  border-radius: 25px;
}
.wpforms-field li label {
  padding-block: 8px !important;
  padding-inline: 20px !important;
}
.wpforms-container ul li {
  margin-right: 5px;
  margin-bottom: 5px;
}
.wpforms-field li input[type="radio"] {
  display: none;
}
.wpforms-interest-checkboxes input[type="checkbox"] {
  display: none;
}
.wpforms-data-privacy-check li {
  border: none !important;
  padding-left: 0 !important;
  display: flex;
  align-items: center;
}
.wpforms-data-privacy-check li.wpforms-selected {
  background-color: var(--white);
  color: var(--black);
}
/* custom border around input of .wpforms-data-privacy-check checkbox */
.wpforms-data-privacy-check input[type="checkbox"] {
  margin: 0 !important;
  margin-right: 10px !important;
}
.wpforms-selected input[type="checkbox"] {
  accent-color: var(--black);
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.wpforms-payment-price {
  appearance: unset !important;
  border: 1px solid var(--black) !important;
  border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  padding-inline: 7px !important;
}
.wpforms-payment-price:checked {
  background-image: url('assets/Checkbox.svg');
  border-radius: 0px;
  -webkit-border-radius: 0px;
}
.step-number {
  display: flex;
  align-items: end;
  height: 100%;
  position: absolute;
  transform: translateX(-100px);
  width: fit-content;
  font-size: 13px;
  font-weight: var(--font-weight-semibold);
}
.wpforms-placeholder {
  opacity: 0;
}
.wpforms-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}



@media screen and (max-width: 768px) {
  #wpadminbar {
    display: none;
  }
  html {
    margin-top: 15px !important;
  }

  /* header */
  .header {
    align-items: center;
    padding-inline: var(--mobile-padding);
  }
  .header-logo {
    position: relative;
    width: 250px;
    z-index: 101;
  }
  .header-navigation {
    content: url("assets/mobile-nav-icon.svg");
    width: 20px;
    height: 20px;
    border: 1px solid var(--black);
    border-radius: 50px;
    padding: 10px;
    z-index: 101;
    animation: transform 0.3s ease;
  }
  .header-navigation.active {
    content: url("assets/mobile-nav-close-icon.svg");
  }
  .header-nav-links {
    display: flex;
    align-items: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: var(--white);
  }
  .header-menu {
    flex-direction: column;
    padding-inline: 30px;
    gap: 40px;
  }
  .header-menu a {
    font-size: 32px;
    font-weight: var(--font-weight-semibold);
  }
  .header-gefolge-link {
    position: absolute;
    padding-inline: 30px;
    bottom: 40px;
  }
  .header-gefolge-link img {
    padding-left: 5px;
  }

  /* Home page */
  .content-area {
    padding-inline: var(--mobile-padding);
  }
  h1 {
    font-size: 50px;
  }
  .home-h1-row p {
    padding-top: 50px;
    line-height: 25px;
    min-width: unset;
  }
  h3 {
    font-size: 26px;
  }
  .h3-text {
    max-width: 100%;
  }
  .home-sponsors {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-sponsors figure {
    height: 150px;
  }
  .home-prinzenpaar {
    flex-direction: column;
  }
  .home-prinzenpaar > div {
    max-width: unset;
    padding-right: unset;
  }
  .home-prinzenpaar img {
    max-width: 75%;
  }
  .home-prinzenpaar-img {
    max-width: 80%;
    /* aling right */
    margin-left: auto;
  }
  h3#kontakt {
    font-size: 26px;
  }
  .home-form-links {
    flex-direction: column;
    align-items: start;
  }
  .date-cell {
    font-size: 28px;
  }
  .mobile-date-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 16px;
    width: 85px;
    margin-top: 5px;
  }
  .mobile-date-wrapper p {
    margin: 0;
  }
  /* 2nd column */
  .name-cell {
    padding-block: unset !important;
  }
  .mobile-location-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
  }
  .mobile-location-wrapper img {
    width: 14px;
    margin-right: 10px;
    margin-top: 5px;
  }
  .mobile-location-wrapper p {
    margin-block: 0;
    margin-left: 24px;
    margin-bottom: 5px;
    text-decoration: underline;
  }
  .location-cell-mobile {
    display: flex;
    align-items: start;
    max-width: 250px;
  }
  .prinz-arminius-termine-gefolge-table .name-cell {
    padding-inline: 20px !important;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    padding-inline: var(--mobile-padding);
  }
  .footer-left {
    flex-direction: column;
    gap: 30px;
  }
  .footer-links {
    padding-left: 0;
  }
  .footer-menu, .footer-legal {
    display: flex;
    flex-wrap: wrap;
    max-height: 50px;
    /* wrap ul li to two columns */
    column-count: 2;
    width: 400px;
  }
  .footer-menu {
    padding-left: 23px;
    width: 320px;
  }
  .footer-bottom-mobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 302px;
  }
  .footer-bottom-mobile .footer-goto-top {
    width: fit-content !important;
  }


  /* WPforms */
  .wpforms-field-medium, .wpforms-field-large {
    padding-inline: 0 !important;
  }
  .wpforms-footer {
    flex-direction: column;
    align-items: start;
  }
  .wpforms-field li label {
    padding-inline: unset !important;
  }



  .only-visible-on-mobile {
    display: block;
  }
  .hidden-on-mobile {
    display: none !important;
  }
}