
@font-face {
	font-family:Open Sans;
	src:url('../gen_libs/fonts/open-sans-v40-latin-regular.woff2') format("woff2"),
		url('../gen_libs/fonts/open-sans-v40-latin-regular.woff') format("woff");
	font-weight:400;
	font-style:normal;
	font-display:swap;
}
@font-face {
	font-family:Open Sans;
	src:url('../gen_libs/fonts/open-sans-v40-latin-600.woff2') format("woff2"),
		url('../gen_libs/fonts/open-sans-v40-latin-600.woff') format("woff");
	font-weight:600;
	font-style:normal;
	font-display:swap;
}

*,
*::before,
*::after {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    font-size: 100%;
}
body {
	font: 400 16px / 25.2px "Open Sans", sans-serif;
	background-color: #fff;
	color: #000;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}
.pfaendungsrechner {
	max-width: 90%;
    max-width: 930px;
    /* margin: 0 auto; */
	padding: 2rem 2rem;	
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-family: "Open Sans", sans-serif;
	font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 0;
}
p {
    margin-bottom: 25px;
}
p:last-child {
    margin-bottom: 0;
}
h1 {
    font-size: 2rem;
    }
h2 {
	font-size: 1.250rem;	
}

.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: auto;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/**
 * Form
 */
.fform {
	/* background-color: #f6f8f9;
    padding: 30px 15px 15px 15px; */
}
.input-group {
	padding: 10px 0;
	overflow: auto;
	display: flex;
	align-items: center;
	min-height: 61px;
}
fieldset {
	border: 0 none;
	margin: 0;
	padding: 0;
}
div.label,
div.pseudolabel {
    border: 0;
    width: 33.33333333%;
    text-align: left;
    margin: 0;
}
.fform div.label label,
.fform div.pseudolabel {
	font-size: 1rem;
    font-weight: 600;
    margin: 0;
	line-height: 20px;
}
.fform div.pseudolabel {
    padding: 0px 5px 0 0;
}
.fform .alignInput { margin-top: 17px; }
.fform div.input {
    width: 66.66666667%;
	max-width: 22rem;
}
.fform div.flex {
	display: inline-flex;
	flex: 1;
}
.fform div.flex input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.fform .addon {
    padding: 6px 12px;
    color: #000;
    font-size: 1rem;
    text-align: center;
    background-color: #fff;
    border: 1px solid #ccc;
	border-left: 0;
    border-top-right-radius: .0;
    border-bottom-right-radius: 0;
	min-height: 40px;
	align-items: center;
    display: flex;
}
input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: #fff;
    border: 1px solid #ccc;
	border-right: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
    color: #000;
    font-family: inherit;
    font-size: 1rem;
	font-weight: 400;
	line-height: 20px;
	padding: 6px 12px;	
	min-height: 40px;
    display: block;
    width: 100%; 
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    background-color: #fff;
    border: 1px solid #ccc;
	border-radius: 0;
    color: #000;
	font-family:inherit;
    font-size: 1rem;
	font-weight: 400;
	line-height: 20px;
	padding: 6px 0px 6px 12px;
    display: block;
	min-height: 40px;
    width: 100%;
	cursor: pointer;	
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
	background-position: right 12px center;
    background-size: 16px 12px;
}

/* custom radio */
input[type=radio] {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
    display: inline;
    height: 0;
    width: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    left: -1000px;
}
input[type=radio]+label:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
	top: 0;
    width: 24px;
    height: 24px;
	background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
}
input[type=radio]:not(:checked)+label:after {
	opacity: 0;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
}
input[type=radio]:checked+label:after,
input[type=radio]:not(:checked)+label:after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
	-webkit-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
    border: 7px #777 solid;
	cursor: pointer;
}
input[type=radio]:checked+label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}
input[type=radio]+label {
    display: inline-block;
    position: relative;
    padding-left: 30px;
	margin-top: 15px;
    cursor: pointer;
}
.radioLabel {
    margin: 0 10px 0 0;
	vertical-align: middle;
}

/* buttons */
.btn {
    background-color: #777;
	border: 1px solid #777;
    /* border-radius: 100px; */
    color: #fff;
	font-size: 1rem;
	padding: .575rem 1.75rem;
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
	cursor: pointer;
    display: inline-block;
    position: relative;
    text-align: center;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
.btn:hover {
    background-color: #fff;
	border: 1px solid #777;
	color: #000;
}

input[type=text]#personen {
    border: 1px solid #ccc;
}

input[type=text].textbox {
	border-right: 1px solid #ccc;
    height: 3rem;
    padding: 1rem;
}

/* states */
select:focus,
input[type=text]:focus {
	border-color: #000;
}
select:focus-visible,
input[type=text]:focus-visible {
	outline: 0.09375rem solid #000;
    outline-offset: 0;
	border-radius: .125rem;
}

input[type=text]:focus,
input[type=text]:focus-visible {
	z-index: 1;
    border-right: 1px solid #ccc;
}
.btn:focus {
	background-color: #0068a6;
	border: 1px solid #0068a6;
}
.btn:focus-visible {
	outline: 2px solid #000;
    outline-offset: 2px;
}
input[type=radio]:focus + label:before,
input[type=radio]:focus-visible + label:before {
	outline: 2px solid #000;
	outline-offset: 2px;
	border-radius: 50px;
}

hr {
    border: none;
    border-top: 1px solid #fff;
    color: #fff;
    background-color: transparent;
    height: 1px;
	margin: 1.5rem 0;
}

@media (max-width: 576px) {
	.pfaendungsrechner {
		padding: 0;	
	}
	h1 {
		font-size: 1.75rem;
	}
	.input-group {
		display: block;
	}
	.fform div.label, .fform div.pseudolabel, .fform div.input {
		width: 100%;
	}
	.fform div.label, .fform div.pseudolabel {
		margin-bottom: 10px;
	}
}

@media print {	
	.header {
		display: flex;
		justify-content: space-between;
        align-items: baseline;
		width: 100%;
		border-bottom: 1px solid #000;
		margin-bottom: 2rem;
	}
	body, .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
		background-color: #fff;
		color: #000;
	}	
	.donotprint { display:none; }
}
