
/* Shadows */
.shadow-sm {
  box-shadow: 0 0 .25rem rgba(0, 0, 0, .02) !important;
}

/* Alternativer Container (breit) */
@media (min-width: 1400px) {
  .container-wide {
    max-width: 1440px;
  }
}
@media (min-width: 1200px) {
  .container-wide {
    max-width: 1140px;
  }
}
@media (min-width: 992px) {
  .container-wide {
    max-width: 960px;
  }
}
@media (min-width: 768px) {
  .container-wide {
    max-width: 720px;
  }
}
@media (min-width: 576px) {
  .container-wide {
    max-width: 540px;
  }
}

/* Min height classes */
.vh-min-50 {
  min-height: 50vh !important;
}

.vh-min-75 {
  min-height: 75vh !important;
}

.vh-min-100 {
  min-height: 100vh !important;
}

/* All form textfields */
.js-form-type-textfield {
  font-family: var(--salto-sans);
  outline: none !important;
}

/* Abo site */
#salto-abo-page-elements-voucher-input-form #edit-submit {
  font-size: 1.7rem;
  padding: 0 .25rem 0 0;
}


/*  Accordion */
.accordion-button:focus {
  border: none !important;
}

.accordion-item .accordion-body {
  font-family: var(--salto-serif) !important;
}

/* Wenn alle Buttons umgestyled sind, können die Klassen .btn und .btn-sm zentral definiert werden statt mit .number-items etc. */
.btn.number-items {
  background: var(--salto-white);
  color: var(--salto-black);
  box-shadow: 0px 0px 15px rgba(0,0,0, .07);
  font-family: var(--salto-serif);
  pointer-events: none;
}

.btn.number-items:hover {
  background: var(--salto-white) !important;
  color: var(--salto-black) !important;
}

.btn.number-items .bi {
  font-size: .9rem;
}

.btn.zoom-icon {
  background: color-mix(in srgb, white 50%, transparent);
  color: var(--salto-black);
  box-shadow: 0px 0px 15px rgba(0,0,0, .1);
}

.glightbox:hover .btn.zoom-icon {
  background: color-mix(in srgb, white 100%, transparent);
  color: var(--salto-black) !important;
}

/* Rounded-circle: same padding for x and y; we take the y variable to make it the same height as other buttons */
.btn.rounded-circle {
  padding: var(--bs-btn-padding-y);
}

/* Rounded-circle: make element inside a square */
.btn.rounded-circle > * {
  width: 1rem;
  height: 1rem;
}

.paragraph--type--image-text-portrait .floating-image-start {
  position: relative;
}

.bi {
  position: relative;
  top: .5px;
}

/* Generic definitions */
/* Colors for Background. Use classes from body to change according to article roles or paths, e. g. article-role-partner-plus-content or .path-abo) */

.path-abo .sa-bg {
  background-color: var(--sa-bg-default) !important;
}

.article-role-partner-plus-content .sa-bg {
ś}

.sa-cl-white {
  color: var(--sa-white) !important;
}
.sa-cl-black {
  color: var(--sa-black) !important;
}
.sa-cl-salto-default {
  color: var(--sa-salto-default) !important;
}
.sa-bg-white {
  background-color: var(--sa-white) !important;
}

.sa-cl-community-default {
  color: var(--sa-community-default) !important;
}

.sa-bg-community-default {
  background-color: var(--sa-community-default) !important;
}

  .sa-serif {
    font-family: var(--salto-serif) !important;
  }

  /* Salto Plus Icon TODO */
  i.sa-s-plus {

  }

  /* Button stuff */
  .btn-max-width {
    max-width: 22rem !important;
  }


  /* Voucher Input Form */
  #salto-abo-page-elements-voucher-input-form {
    display: flex;
  }

  #salto-abo-page-elements-voucher-input-form #edit-submit {
    font-family: bootstrap-icons;
    background: var(--sa-white);
    border-radius: 0 1.5em 1.5em 0;
    color: var(--sa-gray-default);
    border: 0;
    height: 2.25rem;
  }

  #salto-abo-page-elements-voucher-input-form #edit-voucher-code {
    border-radius: 1.5em 0 0 1.5em;
    border: 0;
    height: 2.25rem;
  }

  #salto-abo-page-elements-voucher-input-form .form-item-voucher-code {
    margin-bottom: 0 !important;
  }


  /* Additional custom stuff */
  /* Abo page triptych */
  @media only screen and (min-width: 768px) {
    .salto-abo-page-elements-products-a .triptych .triptych-element:nth-child(1),
    .salto-abo-page-elements-products-a .triptych .triptych-element:nth-child(2) {
      border-right: .5px solid var(--sa-black);
    }
  }

  /* Abo page icons*/
  .salto-abo-page-elements-products-b i.bi,
  .salto-abo-page-elements-donation i.bi {
    font-size: 5rem;
  }

  /* Colors */
  .sa-bg-gradient-abo {
    background: rgb(6,173,195);
    background: linear-gradient(130deg, rgba(6,173,195,1) 0%, rgba(13,110,253,1) 50%, rgba(78,46,167,1) 100%);
  }
  .sa-bg-salto-default {
    background: var(--sa-salto-default) !important;
  }

  /* Temporary */
  /* Hide departments line on header on new (2024) Abo page  (remove after headers are remade) */
  .path-abo .salto-header-small-generic {
    margin-bottom: 0 !important;
  }
  .path-abo .salto-header-small-generic .header-line-departments-menu {
    display: none !important;
  }

