body{
  background-color: #333;
  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;   */
  max-width: 900px;
  margin: auto;
  border-top-style: solid;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-top-width: 2px;
  border-radius: 1px;
}

#container {
	background-color: #F00;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: auto;
	margin-right: auto;
	min-height: 810px;
	width: 1440px;
	/* border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #FFFF00;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #FFFF00;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #777;
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #777; */
}

.clickable-row {
    cursor: pointer; /* Zeigt den "Hand"-Cursor beim Überfahren */
    transition: background-color 0.2s; /* Sanfter Übergang */
}

/* Visuelle Rückmeldung beim Überfahren */
.clickable-row:hover {
    background-color: #444; /* Leicht grauer Hintergrund beim Hover */
}
 
 
h1 {
	font-size: 24px;
	color: yellow;
		margin-bottom: 6px;
	font-weight: normal;
}

h2 {
	font-size: 20px;
	color: lime;
	margin-bottom: 2px;
	margin-left: 0px;
	font-weight: normal;
}
h3 {
	font-size: 15px;
	color: red;
	margin-bottom: 0px;
	font-weight: normal;
}
h4 {
	font-size: 16px;
	color: #eee;
	margin-left: 10px;
	font-weight: normal;
}


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

#wappen{
  width:89px;
  height:53px;
  padding-left: 6px;
  padding-top: 3px;
}
/*Gemeindename*/
#gemeindeName{
  margin-left: 6px;
  font-size: 1.7em;
}

button {
  background-color: rgb(220,50,50); /* Eine ansprechende rote Farbe */
  color: white; /* Weißer Text für guten Kontrast */
  /*padding: 2px 4px; /* Innenabstand des Buttons */
  border: none; /* Keine Umrandung */
  border-radius: 6px; /* Leicht abgerundete Ecken */
  font-size: 18px; /* Schriftgröße */
  /*font-weight: bold; /* Fettschrift */
  cursor: pointer; /* Ändert den Mauszeiger zu einem Zeigefinger */
  box-shadow: 0 4px 6px rgba(77, 77, 77, .1); /* Ein leichter Schatten für Tiefe */
  transform: translateY(-2px); /* Button bewegt sich leicht nach oben */
  transition: all 0.3s ease; /* Eine sanfte Übergangszeit für Hover-Effekte */
}

button:hover {
  background-color:rgb(150,50,50); /* Dunklerer Rot-Ton beim Überfahren mit der Maus */
  box-shadow: 0 6px 8px rgba(44, 44, 44, 1); /* Schatten wird stärker */
  transform: translateY(-4px); /* Button bewegt sich leicht nach oben */
}

button:active {
  background-color: rgb(200,50,200); /* Noch dunklerer Rot-Ton beim Klicken */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Schatten wird schwächer */
  transform: translateY(0); /* Button bewegt sich in seine ursprüngliche Position zurück */
}

/* 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;
  }
}

#footer {
	padding-left: 9px;
    min-width: inherit;
	float: left;
	font-size: 15px;
}


