

@media all {
*, *::before, *::after {
  box-sizing: border-box;
}
html {}

body {
	font-family:'Open Sans', sans-serif;
	font-weight:400;	
	font-size: 16px;
    line-height: 1.5;
	color: #212529;
}


#container {
	background-color:#ffffff;
}
h1, h2, h3 {
	font-family:'Open Sans', sans-serif;
	font-weight:600;
}
h1 {
    font-size: 1.750em;
	margin-top: 0;
    }
h2 {
	font-size: 1.438em;	
}
h3 {
	font-size: 1.250em;
}
h4.ergebnis{font-size:.9em;}
.logo, .printheader { visibility: hidden; display: none }
p.intro { margin:2em 0; }
form {
  width:100%;
}
.formContainer {
	background:#FFF;
	margin-bottom:2em;
	padding-top:0;
	border-bottom:1px solid #e0e0e0;
}
.row {
    display: table-row;
    margin-right: 0;
    margin-left: 0;
}
.inputrow {
	margin-bottom: 2em;
}
.inputrow:after {
	clear:both;
    content:".";
    display:block;
    font-size:0;
    height:0;
    visibility:hidden;
}
.item {
	display:inline-block;
	position:relative;
}
.itemWidth1 {
	min-width: 20em;
}
.itemWidth2 {
	min-width: 25em;
}
label {
	font-size:1em;
	display:inline-block;
	cursor: pointer;
	vertical-align: middle;
}
.label {
	width:10em;
	margin-right:.5em;
	display: inline-block;
}
.ergebnislabel {
	min-width:370px;
	margin-right:.5em;
	display: inline-block;
}
.form-control {
	display: inline-block;
	font-size: inherit;
}
input, textarea, select, button {
	font-family:'Open Sans', sans-serif;
	font-size:1em;
}

input[type="text"],
textarea,
select {
    color: #212529;
    border: 1px solid #e0e0e0;
}
input[type="text"]:focus,
textarea:focus,
select:focus {
    color: #111;
	border-color: #66afe9;
}
input[type="text"] {
    padding: 11px 5px;
}
textarea {
    overflow: auto;
    /* Removes default vertical scrollbar in IE6/7/8/9 */
    
    padding-left: 0.188em;
    vertical-align: top;
    /* Improves readability and alignment in all browsers */
    
    width: 100%;
}
.einnahmen-form,
#result-sums,
#result {
	margin-bottom: 5em;
}
.einnahmen-input {
	text-align: right;
	max-width: 150px;
	appearance: none;
    -webkit-appearance: none;
    border: 0px transparent !important;
}
.einnahmenformtable input, 
.einnahmenformtablebottom input {
	border:1px solid #e0e0e0;
	width: 100%;
}
.flex {
  display: flex;
  align-content: center;
  align-items: center;
}
.flex input[type="text"] {
    border: 1px #e0e0e0 solid;
    border-right: none;
}
.addon {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    color: #212529;
    text-align: center;
    background-color: #F6F6F6;
    border: 1px #ced4da solid;
    border-left: none;
}

/* checkbox */
.check input[type=checkbox] {
-moz-appearance: none;
-webkit-appearance: none;
display: block;
cursor: pointer;
height: 1.5em;
opacity: 0;
position: absolute;
margin-left: 2.5em;
z-index: 50;
}
.check label {
color: #212529;
line-height: 2em;
width: 70%;
text-align: left;
margin-left: 1.5em;
cursor: pointer;
}
.check label:before {
content: " ";
width: 1em;
height: 1em;
margin-left: -1.5em;
margin-top: .3em;
position: absolute;
display: inline-block;
border: 1px solid #444444;
background-color: #ffffff;
z-index: 30;
}
.check label:hover:before {
background: rgba(27,147,199,.1);
color: rgba(27,147,199,.1);
}
.check input[type=checkbox]:checked+label:before {
content: "\2713";
font-size: 1em;
color: rgba(27,147,199,1);
text-align: center;
line-height: 1.1em;
}

/* radio */
.radio input[type=radio] {
-moz-appearance: none;
-webkit-appearance: none;
display: inline-block;
cursor: pointer;
height: 1.5em;
width: 0.1em;
width: 2em;
opacity: 0;
position: absolute;
left: 3em;
z-index: 50;
}
.radio label {
color: #212529;
line-height: 2em;
text-align: left;
margin-left: 2em;
display:initial;
cursor: pointer;
}
.radio label:before {
-webkit-border-radius: 1em;
-moz-border-radius: 1em;
border-radius: 1em;
content: " ";
width: 1em;
height: 1em;
margin-left: -1.5em;
margin-top: .35em;
position: absolute;
display: inline-block;
border: 1px solid #444444;
background-color: #ffffff;
z-index: 30;
}
.radio label:hover:before {
background: #0177a0;
color: #0177a0;
}
.radio input[type=radio]:checked+label:before {
content: "\2022";
font-size: 1em;
background: #0177a0;
color: #0177a0;
text-align: center;
line-height: 1.1em;
}

/* select */
.styled-select select {
   background: transparent;
   width: 12em;   
   padding: 11px 5px;
   line-height: 1;
}
.styled-select select.kostenart {
   width: 18.7em;
   padding-bottom:0;
}

.styled-select {
	width: 12em;
	display:inline-block;
}

.styled-select select:focus {
    outline: none;
}

img {border:0;}

.btn {
    
}

#vorname { width: 12em; }

.einnahmenformtable { margin-bottom: 15px;}

.kostenformtable tr td { vertical-align:middle; }

.kostenformtablebottom {margin-bottom:1em;}

.spalte2 {width:15%;}
.spalte3 {width:15%;}
.spalte4 {width:5%;}

.jahrtable {
	border-collapse: collapse;
}
.jahrtable td,
.jahrtable th {
	border: 1px solid #e0e0e0;
	text-align: center;
	padding: 10px;
}
.summe {width:3.125em;}
.alignright {text-align: right;}
#printlink a { 
	font-size:.85em;
	color: #0177a0;
	text-decoration:underline;
}
#printlink img {
	margin-right:0.3em;
	position:relative;
	width:1em;
	height:1em;
	font-size:2em;
}

.plus,
.minus {
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	cursor: pointer;
}
.i-sign { margin:0 .3em .8em .3em; width:1em; height:1em; vertical-align: middle ; cursor: pointer;}
h2 .i-sign { width:.7em; height:.7em;}
.addon .i-sign { margin: 0;}

.footnote {
	font-size: smaller;
    line-height: 1;
}


#printtitle {display:none;}
} /* end @media all */

/* key breakpoints */
/* Kann maximal 1280px darstellen. */
@media only screen and (min-width : 1280px) {
    #container {width:48em; min-width:20em;} /*610*/
}

@media print {
  .donotprint { visibility: hidden; display:none; }
  #container { margin-right:1.5em; }
  #printtitle {display:block; }
  .logo { visibility:visible; display:block; width: 10rem; margin:0 0 3em 0; }
  .printheader { visibility:visible; display:block; }
  .spalte1 .addon { display: none; }
  .spalte1 .einnahmenart { border-right: 1px solid #e0e0e0; font-size: .85em; }
  .einnahmen-form {
    margin-bottom: 3em;
}
 
}
