/* === INDEXPAGE ============================================================ */

section .news-entry {
  margin: 2rem 0;
}
section .news-entry:first-of-type {
  margin-top: 0.5rem;
}
section .news-entry .header small {
  position: relative;
  top: -10px;
}
section .news-entry .message {
  padding: 5px 10px;
}

/* Shop-Button */
@media (min-width: 360px) {
  .carousel {
    position: relative;
  }
  .carousel > .shop-button img {
    width: 25%;
    position: absolute;
    right: 3%;
    bottom: 20%;
    z-index: 20;
    transform: rotate(20deg);
  }
  .carousel > .shop-button:hover img {
    box-shadow: inset 0 0 0 2em var(--hover);
    animation: shake 750ms infinite;
    animation-timing-function: linear;
  }
  @keyframes shake {
    0% { transform: rotate(20eg); }
    50% { transform: rotate(-5deg); }
    100% { transform: rotate(20deg); }
  }
  .shop-button.mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .carousel > .shop-button img {
    width: 30%;
    right: 3%;
    bottom: 20%;
  }
}

@media (max-width: 360px) {
  .shop-button.mobile {
    display: inherit;
  }
  .carousel > .shop-button {
    display: none;
  }
}

/* === ABOUTPAGE ============================================================ */

article#about-us .orga-members {
  width: 100%;
/*
  text-align: center;
*/
  text-align: left;
  display: inline-flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

article#about-us .orga-members .member {
  margin-bottom: 25px;
  display: inline-flex;
    flex-flow: row nowrap;
  flex: 0 1 48%;
}

article#about-us .orga-members .member .image {
  width: 30%;
  padding: 5px 0;
  margin-right: 15px;
}
article#about-us .orga-members .member .image img {
  width: 100%;
}
article#about-us .orga-members .member .description {
  padding: 5px 0;
  margin-top: 10px;
  width: 70%;
}

article#about-us .orga-members .member h3 {
  font-weight: bold;
  font-size: 1.3rem;
}

/* === SHOPPAGE ============================================================= */

iframe {
  width: 100%;
  min-height: 500px;
  border: none;
}

.shop-footer {
  display: inline-flex;
    flex-flow: row wrap;
    justify-content: space-around;
  width: 100%;
}

/* === TRAININFOPAGE ======================================================== */

#train-info h3 {
  font-size: 1.2em;
  font-weight: bold;
}

#train-info h3.active {
  color: var(--color-text-emphasize);
}

#train-info .timetables {
  display: inline-flex;
  flex-flow: row wrap;
  width: 100%;
}

#train-info .timetables > div {
  flex: 1 1 50%;
}

#train-info .timetables table thead td {
  font-weight: bold;
}

#train-info .timetables table td.arrival,
#train-info .timetables table td.departure,
#train-info .timetables table td.platform {
  min-width: 100px;
}

/* === PARTNERSPAGE ========================================================= */

#partners .partners {
  display: inline-flex;
    flex-flow: row wrap;
    justify-content: space-around
}

#partners .partners .partner {
  padding: 20px;
  margin: 20px 0;
  background-color: var(--color-text-secondary);

  -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    -webkit-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

#partners .partners .partner:hover {
  background-color: var(--color-text-primary);
}

#partners .partners .partner a {
  text-decoration: none;
}

#partners .partners .partner img {
  height: 100px;
  width: auto;
}

#partners .partners .partner .no-img {
  font-size: 2rem;
  word-wrap: break-word;
  max-width: 250px;
  text-align: center;
}
