body{
  background-color: #111;
  background-image: url("elemente/black-linen.png");
}
/*Alles ausser Hintergrund links und rechts des Rechners*/
#main {
  font-family: Arial,Helvetica,sans-serif;
  max-width: 450px;
  margin: auto;
  border-top-style: solid;
  border-bottom-style: solid;
  border-bottom-width: 3px;
  border-top-width: 3px;
  border-radius: 1px;
}

/*Enthält Banner und Gemeindename*/
#top{
  position: relative;
  padding-top: 3px;
  padding-left: 11px;
  padding-bottom: 0;
  margin: 0;
  border-bottom-width: 3px;
  border-bottom-style: solid;
}
/*Div welches alles Inputs enthält*/
#content{
    padding-left: 9px;
    min-width: inherit;
}

#wappen{
  width:44px;
  height:53px;
}
/*Gemeindename*/
#gemeindeName{
  margin-left: 18px;
  font-size: 1.7em;
}
/* Visualisierung der Adaptiv-Stufe */
.vertLine {
  font-weight: 900;
  font-size: 2em;
  position: absolute;
  right: 10px;
  bottom: 5px;
}

.info-text {
}

.link {
  text-decoration: none;
}

#adaptive {
  margin-right: 10px;
}

/*Teil der auftaucht nachdem die Betreuungsart gewählt wurde*/
#bot{
  min-width: inherit;
  padding-left: 11px;
  padding-right: 2px;
  font-size: 0.7em;
}

table {
  font-size: 0.9em;
  border-collapse: collapse;
  max-width: 450px;
}

col.first {
  width: 60%;
}
col.second {
  display: inline;
  width: 20%;
}
col.third {
  width: 20%;
}

td {
  padding-left: 3px;
  padding-top: 2px;
}

/*Titel der Eingabefelder wie "Betreuungsart oder Familienstruktur"*/
.form-title{
  padding-top: 10px;
}

hr {
  margin-left: 0;
  height: 2px;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    text-align: right;
    width: 95px;
    -moz-appearance:textfield;
}

select {
  text-align: right;
  width: 95px;
}

#betreuungsort {
  text-align: left;
  width: 120px;
}

#date {
  margin: 2px 0 0 3px;
  font-size: 0.8em;
}

/* Warnungen */
#krippeWarnung, #familieWarnung, #locationWarnung, #hortWarnung {
  margin-left: 3px;
  font-size: 0.9em;
}

/* Schlussresultat "Beitrag pro Monat" */
.mainResult{
  font-size: 1.3em;
}


@media only screen and (max-width: 427px) {
  #content, #bot{
      padding-left: 3px;
      padding-right: 3px;
      min-width: inherit;
  }
  .mainResult{
    font-size: 1.2em;
  }

  #adaptive {
    font-size: 1.5em;
    bottom: 5px;
  }


  table {
    font-size: 0.8em;
  }

  col.first {
    width: 60%;
  }
  col.second {
    width: 25%;
  }
  col.third {
    width: 15%;
  }

  td:nth-child(3){
    font-size: 0.7em;
  }
}

@media only screen and (max-width: 387px){

  .mainResult{
    font-size: 1.2em;
  }

  #adaptive {
    font-size: 0.75em;
    bottom: 5px;
  }

  col.first {
    width: 65%;
  }
  col.second {
    width: 20%;
  }
  col.third {
    width: 15%;
  }

  input[type=number] {
    font-size: 0.7em;
    width:75px;
    height:20px;
  }
  select {
    font-size: 0.7em;
    width:75px;
    height:20px;
  }

  tr {
    padding-right: 10px;
  }
}

/*Zwischen Resultate für Tests*/
.zwischenresultate {
  margin-bottom: 0;
}

/*Zum debuggen*/
#additionalResults{
  color: white;
  font-family: Arial,Helvetica,sans-serif;
  position: absolute;
  left: 30px;
  top: 30px;
  min-width: 300px;
  max-width: 400px;
}

/*Zwischenresultate Entwickler*/
#debuggingResults{
  color: white;
  font-family: Arial,Helvetica,sans-serif;
  font-weight: bold;
  position: absolute;
  right: 30px;
  top: 30px;
  min-width: 300px;
  max-width: 400px;
}

#subResultContainer{
  display: none;
  font-family: Arial,Helvetica,sans-serif;
  margin-left: 10px;
  font-size: 0.9em;
}
