/* Komplett neues Stylesheet */

/* ===== GRUNDEINSTELLUNGEN ===== */
html {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

main {
  padding-left: 25px;
  padding-right: 25px;

  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "input teilnehmerliste"
                      "input message";
  justify-content: center;

}

#inputBox {
  grid-area: input;
}

#listenBox {
  grid-area: teilnehmerliste;
  padding-left: 30px;
  padding-right: 30px;
}

#messageBox {
  grid-area: message;
}

h1 { /* Seitentitel */
 font-size: 1.7rem;
 text-align: center;
}

h2 { /* Begrüssung mit Namen */
  font-size: 1.3rem;
}

h3 { /* Titel "Auswertung Vereinsmeisterschaft" */
  font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */

ul{
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;


  padding: 25px;
  margin: 0;

}

li {
  margin-right: 15px;
  margin-bottom: 15px;
}

.navIcon {

  height: 75px;
  max-height: 22vh;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.iconContainer {
  display: inline-block;
  box-sizing: border-box;
  background-color: rgba(0, 61, 185, 1);

  width: 120px;
  height: 120px;
  max-height: 25vh;
  max-width: 25vh;


  padding-top: 25px;
  padding-bottom: 25px;

}

.iconContainer:hover {
  background-color: rgba(0, 61, 185, 0.89);
}

/* ===== Titelleiste =====*/

#titel {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "logo text navigation";

}

.logo-loginpage {
  text-align: center;
  display: block;
  padding-top: 100px;
  margin-left: auto;
  margin-right: auto;

}

#logo {
  grid-area: logo;
  padding: 25px;
  padding-bottom: 0;
}

#hello {
  padding: 25px;
  padding-bottom: 0;
  grid-area: text;
}

#navigation {
  grid-area: navigation;
  padding-top: 10px;
}

/* ===== FORMULAR ===== */

.submitButton {
  background: #003db9;
  background-image: -webkit-linear-gradient(top, #3D94F6, #003DB9);
  background-image: -moz-linear-gradient(top, #3D94F6, #003DB9);
  background-image: -ms-linear-gradient(top, #3D94F6, #003DB9);
  background-image: -o-linear-gradient(top, #3D94F6, #003DB9);
  background-image: linear-gradient(to bottom, #3D94F6, #003DB9);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: Open Sans;
  font-size: 15px;
  font-weight: 100;
  padding: 15px;
  text-shadow: 1px 1px 20px #000000;
  border: solid #FFFFFF 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;
  margin: 25px;
}

.submitButton:hover,  .submitButton:focus{
  border: solid #FFFFFF 1px;
  background: #003DB9;
  background-image: -webkit-linear-gradient(top, #003DB9, #3D94F6);
  background-image: -moz-linear-gradient(top, #003DB9, #3D94F6);
  background-image: -ms-linear-gradient(top, #003DB9, #3D94F6);
  background-image: -o-linear-gradient(top, #003DB9, #3D94F6);
  background-image: linear-gradient(to bottom, #003DB9, #3D94F6);
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 5px;
  text-decoration: none;
  margin: 25px;
}

fieldset {
  border: none;
  padding: 0;
  text-align: center;

}

form {
  text-align: center;
}

.textfeld {
  height: 50px;
  border: solid #ddd 1px;
  border-radius: 5px;
  margin: 5px;
  padding: 5px;
  width: 150px;



}


.auswahl {
  height: 50px;
  border: solid #ddd 1px;
  border-radius: 5px;
}

.radio {
  margin-top: 25px;


}

.punktefeld {
  -moz-appearance: textfield;
  height: 50px;
  border: solid #ddd 1px;
  border-radius: 5px;
  margin: 5px auto;
  width: 150px;


}

.zeitfeld {
  -moz-appearance: textfield;
  height: 50px;
  border: solid #ddd 1px;
  border-radius: 5px;
  width: 50px;
  margin: 5px;
}

-webkit-inner-spin-button,
-webkit-outer-spin-button {
  -webkit-appearance: none;
}

input:focus {
  border: solid #000000 1px;
}

.resultateLabel{
  display: block;
  font-size: 0.8rem;
  width: 152px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;

}

.unsichtbar {
  visibility: hidden;
}

/* ===== SUCHFUNKTION ===== */

.red {
  color: red;
}

.green {
  color: green;
}

#ladeStatus {
  text-align: center;
  display: block;
}

.loginform {
  display: block;
  margin-top: 20vh;
  margin-bottom: 20vh;
}

.zusatzlink {
  text-align: center;
}

.msgBox {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.warncontainer {
  background-color: #E4ACA0;
  z-index: 99;
  width: 60vw;
  position: fixed;
  left: 20vw;
  top: 20vw;
  padding: 30px;
  opacity: 1;
  border: 1px solid transparent;
  border-radius: 5px;


}

.confirmBtn {
  height: 30px;
  background: rgba(155, 17, 30, 1);

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: Open Sans;
  font-size: 15px;
  font-weight: 100;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 20px;
  border: solid transparent 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;

}

.confirmBtn:hover {
  background-color: rgba(155, 17, 30, 0.8);
}

.abortBtn {
  height: 30px;
  background: rgba(0, 61, 185, 1);

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: Open Sans;
  font-size: 15px;
  font-weight: 100;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 20px;
  margin-top: 20px;
  border: solid transparent 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;

}

.abortBtn:hover {
  background-color: rgba(0, 61, 185, 0.89);
}

.overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* ===== TEILNEHMERLISTE ===== */
table {
  width: 50%;
  border-collapse: collapse;
}

td {
  height: 10px;
  vertical-align: middle;
  text-align: left;
  border-bottom: solid #ddd 1px;
  padding: 10px;
}


th {
  height: 30px;
  vertical-align: bottom;
  text-align: left;
  border-bottom: solid #ddd 1px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-top: 0;
  padding-left: 0;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.listenBtn {
  height: 30px;
  background: rgba(0, 61, 185, 1);

  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  color: #FFFFFF;
  font-family: Open Sans;
  font-size: 15px;
  font-weight: 100;
  padding-left: 10px;
  padding-right: 10px;
  border: solid transparent 1px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  text-align: center;

}

.listenBtn:hover {
  background-color: rgba(0, 61, 185, 0.89);
}



@media only screen and (min-resolution: 250dpi), only screen and (max-width: 1500px){
  #titel {
    grid-template-rows: auto 1fr;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo text"
                          "navigation navigation";

  }

  main {
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr;
    grid-template-areas: "input"
                        "teilnehmerliste"
                        "message";

  }

  ul {
    padding-top: 0;
  }
}

@media only screen and (min-resolution: 250dpi), only screen and (max-width: 875px){

  /* ===== NAVIGATION und HEADER ===== */
  html, body {
    overflow-x: hidden;
  }

  li {
    margin: 0;
  }

  ul {
    padding: 0;
    margin: 0;
    width: 100vw;

  }
  .iconContainer {
    width: 16.4vw;
  }

  .warncontainer {
    background-color: #E4ACA0;
    z-index: 99;
    width: 70vw;
    position: fixed;
    left: 5vw;
  }


}

@media only screen and (min-resolution: 250dpi), only screen and (max-width: 600px){

    /* ===== NAVIGATION und HEADER ===== */
  .navIcon {
    height: 60px;
  }
  .iconContainer {
    height: 100px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .logo {
    width: 150px;
  }

  #logo {
    padding: 15px;
  }

  #hello {
    padding: 15px;

  }

  #listenBox {
    width: 80vw;
  }

  table {
    width: 85%;
  }
}

.hidden {
  display: none;
}
