body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lato", sans-serif;
}
body,
html {
  height: 100%;
  color: #777;
  line-height: 1.8;
}

body {
  min-height: 100%;
}

.error404 {
  text-align: center;
}

.bold{
  font-weight: bold;
}

/* Create a Parallax Effect */
.bgimg-1,
.bgimg-2,
.bgimg-3 {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
  background-image: url("../img/index/stv_hauptwil_gottshaus.jpg");
  min-height: 100%;
}

/* Second image (Portfolio) */
.bgimg-2 {
  background-image: url("../img/index/festwagen.jpg");
  min-height: 400px;
}

/* Third image (Contact) */
.bgimg-3 {
  background-image: url("../img/index/korbball.jpg");
  min-height: 400px;
}

.w3-wide {
  letter-spacing: 10px;
}
.w3-hover-opacity {
  cursor: pointer;
}

.navigation {
  color: black;
  background: -webkit-linear-gradient(white, rgba(204, 204, 204, 0));
  background: -o-linear-linear-gradient(white, rgba(204, 204, 204, 0));
  background: -moz-linear-gradient(white, rgba(204, 204, 204, 0));
  background: linear-gradient(white, rgba(204, 204, 204, 0));
  z-index: 2;
}

/* popup für Werbung */
#popupWerbung {
  padding-top: 4%;
}

#popupWerbung > div {
  line-height: 0;
  width: max-content;
  width: -moz-max-content;
}

#werbeBild {
  max-width: 100%;
  max-height: 500px;
}

.meilensteinDatum {
  float: right;
  font-size: 10px;
}

.zeitstrahlToday {
  margin: 0;
  -webkit-animation: schattenrot 3s infinite;
}

@-webkit-keyframes schattenrot {
  0% {
    background-color: rgba(205, 041, 144, 0.2);
    box-shadow: 0 0 8px rgba(150, 150, 150, 0.7);
  }
  25% {
    background-color: rgba(205, 041, 144, 0.2);
    box-shadow: 0 0 80px rgba(205, 041, 144, 0.7);
  }
}

.kalender {
  text-align: center;
}

/* News */
.newsTitle {
  margin-top: 50px;
  color: black;
}

.newsLead {
  margin-bottom: 0;
}

.newsText {
  margin-top: 0;
  width: 40%;
}

.newsBild {
  width: 40%;
  float: right;
  margin-top: 10px;
}

.newsBild.portrait {
  height: 300px;
  width: unset;
  margin-top: -65px;
}

/* Bilder */

/******(Für Smartphone grid verwenden!!)*******/

.imageTopPicture {
  width: 100%;
  min-height: 500px;
  max-height: 800px;
  opacity: 0.75;
  background-image: url("../img/bilder/bilder.jpg");
  background-size: cover;
  /*-moz-box-shadow: inset 0px 850px 500px -500px #fff;
    -webkit-box-shadow: inset 0px 850px 500px -500px #fff;
    -o-box-shadow: inset 0px 850px 500px -500px #fff;
    box-shadow: inset 0px 850px 500px -500px #fff;*/
}

.imageAlbum {
  margin: auto;
  width: auto;
  text-align: center;
  background-color: black;
}

.imageFolderLink {
  text-decoration: none;
}

.imageFolder {
  width: 25%;
  min-width: 300px;
  height: auto;
  margin: 20px;
  background-color: white;
  display: inline-block;
  box-sizing: inherit;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2), 0 4px 20px 0 rgba(0, 0, 0, 0.19);
}

.imageFolder:hover {
  background-color: #dadfe1;
}

.imageFolderExamplePicture {
  width: 100%;
  height: auto;
  padding: 20px;
  padding-bottom: 0;
}

.imageFolderText {
  font-weight: bold;
}

.album {
  margin-left: 10px;
  margin-right: 10px;
}

.album h1 {
  margin-top: 50px;
}

.loggedInMarker {
  float: right;
  width: 50px;
  position: relative;
  margin-right: 10px;
  margin-bottom: -70px;
}

ul#galerie {
  padding: 0;
  margin: 0;
  margin-top: 10px;
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: flex-start;
}
ul#galerie li {
  padding: 3px;
  background-color: #ebebeb;
  border: 1px solid #ccc;
  float: left;
  margin-bottom: 10px;
}
ul#galerie li:hover {
  border: 1px solid #333;
}
ul#galerie li a img {
  border: none;
  width: 100%;
}

.bildRahmen {
  width: 230px;
}

.videoButton {
  display: inline-block;
  border-radius: 4px;
  background-color: black;
  border: none;
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  padding: 10px;
  width: 160px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.videoButton span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.videoButton span:after {
  content: "\00bb";
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.videoButton:focus {
  outline: none;
}

.videoButton:hover span {
  padding-right: 25px;
}

.videoButton:hover span:after {
  opacity: 1;
  right: 0;
}

.video {
  width: 70%;
  height: auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: -54px;
}

.buttonClose {
  background-color: rgba(0, 0, 0, 0.8);
  line-height: 1;
}

.releaseText {
  margin: 0;
}

.singleDay {
  margin-bottom: 0;
}

.message {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0 10px 0 10px;
  z-index: 10;
}

.error {
  background-color: red;
  color: white;
}

.warn {
  background-color: orange;
  color: white;
}

.info {
  background-color: gray;
  color: black;
}

.success {
  background-color: green;
  color: white;
}

/*********************************Neu****************************************************/
/* Allgemein */
main {
  min-height: calc(100% - 70px - 400px); /* Header und footer abgezogen */
}

.variousHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/variousHeaderImage.jpg);
}

/* Header */
.headerImage {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  height: 400px;
  background-attachment: inherit;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Footer */
footer {
  min-height: 70px;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  background-color: black;
  color: black;
}

footer p {
  margin: 0;
  font-size: 12pt;
  font-weight: bolder;
  font-family: monospace;
  color: white;
  text-shadow: gray 1px 1px 2px;
}

/* Hauptseite */
.mainTitel {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

/* Login */
#loginContainer,
#aktivierungContainer {
  display: none;
  background-color: transparent;
  -webkit-animation: opac 0.4s;
  -moz-animation: opac 0.4s;
  -o-animation: opac 0.4s;
  animation: opac 0.4s;
}

#loginBereich,
#aktivierungBereich {
  background-color: rgba(0, 0, 0, 0.8);
  width: 250px;
  position: absolute;
  top: 50px;
  right: 10px;
  padding: 15px;
  border-radius: 20px;
  z-index: 5;
}

#loginBereich a {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  margin-top: 5px;
}

.loginInput,
.registerInput {
  width: 80%;
  border-radius: 27px;
  background-color: #ebebeb;
  margin-bottom: 10px;
  padding-right: 15px;
  padding-left: 15px;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.loginInput:focus,
.registerInput:focus {
  outline: none;
  width: 100%;
}

#loginButton,
#registerButton,
#sendEmailRequest,
.sendButton {
  width: 80%;
  margin-top: 10px;
  border-radius: 27px;
  background-color: rgba(87, 184, 70, 1);
  color: white;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
  text-decoration: none;
  cursor: pointer;
}

#loginButton:hover,
#registerButton:hover {
  background-color: rgb(40, 89, 32);
}

#loginButton:focus,
#registerButton:focus {
  outline: none;
}

/* Kalender */
.kalenderLink {
  text-align: center;
}

.kalenderLink > p {
  display: inline;
}

.kalenderLink > img {
  display: inline;
  width: 50px;
}

/* Turnerfamilie */
.turnerfamilieHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/schlussbild_2023.jpg);
  opacity: 0.75;
  background-position: bottom;
}

.turnfamilie {
  margin: 0px 50px 0 50px;
  list-style-type: none;
}

.turnfamilie li {
  width: auto;
}

.turnfamilie li div {
  margin-left: 20px;
}

.riegeCard {
  padding-right: 10px;
}

.mtvLink {
  text-decoration: underline;
}

.mtvLink:hover {
  color: black;
  text-shadow: gray 5px 3px 4px;
}

/* Bilder */
.bilderHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/bilder.jpg);
  max-width: 1600px;
}

.headerBackground {
  background-color: black;
}

#diashowContainer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}

.diashowContainerBreite {
  width: 80%;
}

.diashowContent {
  margin: 0 auto;
  width: fit-content;
  max-width: 1600px;
  max-height: 100vh;
  text-align: center;
}

#diashowImage {
  max-width: 100%;
  max-height: 1600px;
  object-fit: contain;
}

.diashowButton {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50px;
}

.diashowButton > span {
  position: absolute;
  left: 0;
  width: 100%;
  padding: 8px 16px;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.closeImage {
  right: 0;
  top: 0;
  height: 40px;
  z-index: 1;
}

.nextImage {
  right: 0;
  transition: background-color ease 2s;
}

.previousImage {
  left: 0;
  transition: background-color ease 2s;
}

.previousImage:hover,
.nextImage:hover {
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color ease 0.5s;
}

.nextImage > span,
.previousImage > span {
  top: 50%;
}

.diashowButton > span:hover {
  background-color: #cccccc;
  color: black;
}

.nextImage > span {
  right: 0;
}

.previousImage > span {
  left: 0;
}

#diashow > div {
  line-height: 0;
  width: 90%;
  max-height: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
}

/* Stvflix */
.stvflixHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/stvflix.jpg);
  max-width: 1600px;
}

.stvflixButton{
  padding: 10px 5px;
  background-color: rgb(136, 199, 56);
  font-size: large;
  text-decoration: none;

  display: inline-block;
  border-radius: 4px;
  border: none;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  width: 160px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.stvflixButton.notAvailable{
  background-color: rgb(246, 48, 62);
}

/* Kontakte */
.kontakteHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/stv_wagen.jpg);
}

.kontakte {
  margin: auto;
  padding: 100px;
  width: auto;
}

.kontaktKarteContainer {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kontaktKarte {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  margin: 10px;
  padding: 20px;
  min-width: 250px;
  width: 280px;
}

.funktion {
  margin: 0px;
  font-size: 14pt;
  font-weight: bold;
  text-decoration: underline;
}

.name {
  margin: 0px;
  font-size: 11pt;
  font-weight: normal;
}

.ort {
  margin: 0px;
  font-size: 11pt;
  font-weight: normal;
  line-height: 1;
  display: block;
}

.telefon {
  margin: 0px;
  font-size: 11pt;
  font-weight: normal;
  line-height: 1;
}

.email {
  display: inline-table;
  margin: 0px;
  font-size: 11pt;
  font-weight: normal;
  line-height: 1;
  text-decoration: none;
  color: black;
}

/* Archiv */
main.archiv {
  padding-top: 50px;
  height: calc(100% - 70px); /* footer abgezogen */
}

main.archiv iframe {
  width: 100%;
  height: 100%;
}

/* Sponsoren */
.sponsorenHeaderImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/sponsoren.jpg);
  opacity: 0.75;
}

.sponsorenBereich {
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
  width: 80%;
}

.sponsorFeld {
  display: block;
  padding: 20px;
  line-height: normal;
  list-style-type: none;
  border-bottom: 1px solid #ddd;
}

.sponsorFeld:last-child {
  border-bottom: none;
}

.sponsorName {
  min-width: 100%;
  width: 350px;
  text-align: left;
}

.sponsorName a {
  line-height: normal;
  text-align: left;
  text-decoration: none;
}

.sponsorName:hover {
  text-shadow: gray 1px 1px 2px;
}

.sponsorAdresse a {
  font-size: 1.1em;
  line-height: normal;
  text-align: left;
  text-decoration: none;
  min-width: 100%;
  width: 300px;
  margin-left: 10%;
}

/* Verlauf */
.verlauf {
  padding-top: 20px;
  padding-left: 65px;
}

/* Konto */

.kontoImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/konto.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

main.konto {
  padding-top: 50px;
  height: calc(100% - 70px); /* footer abgezogen */
}

/* Login */

.loginImage {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../img/headerBackground/login.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

main.login {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 50px;
  height: calc(100% - 70px); /* footer abgezogen */
  vertical-align: middle;
}

.login > section {
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
}

.login > section > img {
  height: 100px;
  display: none;
}

.login > section > form {
  margin-bottom: 30px;
}

.login > section > a {
  display: block;
}

/* Film Turnunterhaltung */
.movieHeaderImage2025 {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../stvflix/turnunterhaltung2025/turnunterhaltung2025SliderImage.jpg);
  max-width: 1600px;
  /* height: 740px; */
}

.movieHeaderImage2023 {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../stvflix/turnunterhaltung2023/turnunterhaltung2023SliderImage.jpg);
  max-width: 1600px;
  /* height: 740px; */
}

.movieHeaderImage2020 {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../stvflix/turnunterhaltung2020/turnunterhaltung2020SliderImage.jpg);
  max-width: 1600px;
  /* height: 740px; */
}

.movieHeaderImage2018 {
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 70%,
      rgba(0, 0, 0, 1)
    ),
    url(../stvflix/turnunterhaltung2018/turnunterhaltung2018SliderImage.jpg);
  max-width: 1600px;
  /* height: 740px; */
}

.turnunterhaltungVideoMain {
  margin: auto;
  width: auto;
  text-align: center;
  background-color: black;
}

.videoContainer {
  width: 100%;
}

.videoContainer > select {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80px;
  margin-bottom: 60px;
}

.videoContainer > video {
  max-width: 1200px;
  width: 80%;
}

.cover {
  max-width: 1250px;
  width: 80%;
  margin-bottom: 50px;
}

/* Bildschirme ab 1024 Pixel - 1024px / 16px/em = 64em */
@media screen and (max-width: 79em) {
  /* Turn off parallax scrolling for tablets and phones */
  .bgimg-1,
  .bgimg-2,
  .bgimg-3 {
    background-attachment: scroll;
  }
  /* Meilensteine */
  .meilensteinDatum {
    float: none;
  }
  /* News */
  .newsText {
    width: 100%;
  }

  .newsBild {
    width: auto;
    max-width: 500px;
    max-height: 400px;
    float: none;
  }

  /* Unsere Turnerfamilie */
  main.turnfamilie {
    margin: 0px 0px 10px 0px;
  }
  /* Bilder */
  .bildRahmen {
    width: 47%;
  }

  /* Login */
  #loginBereich {
    width: 90%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    left: 0;
    right: 0;
  }
}

/* Tabletversion */
@media screen and (max-width: 63em) {
  main {
    min-height: calc(100% - 70px - 300px); /* Header und footer abgezogen */
  }

  .headerImage {
    height: 300px;
  }

  /* Kontakte */
  .kontakte {
    padding: 40px 20px;
  }
}

/*  Handy */
@media screen and (max-width: 39em) {
  main {
    min-height: calc(100% - 70px - 200px); /* Header und footer abgezogen */
  }

  .headerImage {
    height: 200px;
  }

  /* News */
  .newsBild {
    width: auto;
    max-width: 90%;
    max-height: 400px;
    float: none;
  }

  /* Bilder */
  #diashowImage {
    width: 100%;
    max-height: 600px;
  }

  /* Sponsoren */
  .sponsorenBereich {
    padding-left: 10px;
    padding-right: 10px;
    width: 90%;
  }
  .sponsorFeld {
    padding: 20px 0px;
  }
  .sponsorAdresse {
    display: none;
  }

  /* Verlauf */
  .verlauf {
    padding-top: 0;
    padding-left: 16px;
  }
  /* Login */
  main.login {
    height: calc(100% - 86px); /* footer abgezogen */
  }

  .login > section {
    width: 90%;
  }
}

#grid-container {
  display: grid;
  grid-template-columns: auto 20%;
  grid-gap: 0px 0px;
  padding: 0px;
}

.grid-item {
}

.grid-sideBar {
  background-color: black;
}

#userProfile {
  position: absolute;
  width: 80%;
  background-color: #333;
}
