﻿:root
{
	/* colors */
	--color-slate-50: #F8FAFC;
	--color-slate-100: #F1F5F9;
	--color-slate-200: #E2E8F0;
	--color-slate-300: #CBD5E1;
	--color-slate-400: #94A3B8;
	--color-slate-500: #64748B;
	--color-slate-600: #475569;
	--color-slate-700: #334155;
	--color-slate-800: #1E293B;
	--color-slate-800-permanent: #1E293B;
	--color-slate-900: #0F172A;
	--color-slate-900-permanent: #0F172A;
	--color-green-50: #F0FDF4;
	--color-green-100: #DCFCE7;
	--color-green-200: #BBF7D0;
	--color-green-300: #86EFAC;
	--color-green-400: #4ADE80;
	--color-green-500: #22C55E;
	--color-green-700: #15803D;
	--color-red-500: #FB2C36;
	--color-black: #000000;
	--color-white: #FFFFFF;
	--color-white-permanent: #FFFFFF;
	--color-body-bg: var(--color-white);
	/*  */
	--font-size-base: 16px;
	--font-size-h1: 48px;
	--font-size-h2: 40px;
	--font-size-h3: 32px;
	--font-size-h4: 28px;
	--font-size-h5: 24px;
	--font-size-h6: 18px;
	--font-size-small: 14px;
	--font-size-smaller: 12px;
	/* images */
	--bg-img-fmh-logo: url(https://cdn1.fmh.de/images/fmh.svg);
	--bg-img-award: url(https://cdn1.fmh.de/images/fmh/award.svg);
	--bg-img-award-permanent: url(https://cdn1.fmh.de/images/fmh/award.svg);
	--bg-img-award-line: url(https://cdn1.fmh.de/images/fmh/award-line.svg);
	--bg-img-award-line-permanent: url(https://cdn1.fmh.de/images/fmh/award-line.svg);
	--bg-img-chevron-down-select: url(https://cdn1.fmh.de/images/fmh/chevron-down-select.svg);
	--bg-img-info-circle: url(https://cdn1.fmh.de/images/fmh/info-circle.svg);
	--bg-img-info-circle-permanent: url(https://cdn1.fmh.de/images/fmh/info-circle.svg);
	--bg-img-location-fill: url(https://cdn1.fmh.de/images/fmh/location-fill.svg);
	--bg-img-location-on: url(https://cdn1.fmh.de/images/fmh/location-on.svg);
	--bg-img-question-fill: url(https://cdn1.fmh.de/images/fmh/question-fill.svg);
	--bg-img-question-fill-permanent: url(https://cdn1.fmh.de/images/fmh/question-fill.svg);
}

body
{
	margin: 0px;
	background-color: var(--color-body-bg);
}



form .frame
{
	width: 100%;
	/*background-color: #fff !important;*/
	/*background-image: none !important;*/
}

form .frame
{
	border: none;
	font-family: Inter, serif;
	font-size: var(--font-size-base);
	padding: 10px 0;
}

div.alfag *
{
	font-family: Inter, serif;
	font-size: var(--font-size-base);
	/*font-weight: normal;*/
	box-sizing: border-box;
	line-height: 125%;
	color: var(--color-slate-900);
}

div.alfag
{
	width: 100%;
	max-width: 1024px;
	position: relative;
	clear: both;
}

div.alfag table
{
	border-collapse: collapse;
	width: 100%;
}
div.alfag table td, div.alfag table th
{
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

div.alfag p
{
	margin: 10px 0;
	padding: 0px;
}

div.alfag h1, div.alfag h2, div.alfag h3, div.alfag h4
{
	font-family: Recursive, serif;
	font-weight: bold;
}
div.alfag h1
{
	font-size: var(--font-size-h1);
	margin: 10px 0;
}
div.alfag h2
{
	font-size: var(--font-size-h2);
	margin: 10px 0;
	padding: 0;
}
div.alfag h3
{
	font-size: var(--font-size-h3);
	padding: 0;
	margin: 10px 0;
}
div.alfag h4
{
	font-size: var(--font-size-h4);
	padding: 10px 0;
	margin: 0px;
}

div.alfag .heading
{
	font-family: Recursive, serif;
	font-weight: bold;
}
div.alfag .input-headline
{
	color: var(--color-slate-800-permanent);
	font-size: var(--font-size-h3);
	font-weight: bold;
	padding: 20px;
	margin-bottom: 16px;
	background-color: var(--color-green-200);
	border-radius: 6px;
}

div.alfag img
{
	vertical-align: middle;
}





/*div.alfag input[type="text"]
{
	width: 80px;
	padding: 2px 4px;
}*/

div.container
{
	margin: 4px 20px 4px 0px;
	padding: 0 8px;
}

div.container2
{
	margin: 6px 6px 6px 6px;
}

div.container table
{
	min-height: 36px;
}

span.advice
{
	font-size: var(--font-size-small);
}

div.alfag input, div.alfag select
{
	background-color: var(--color-body-bg);
	border: 1px solid var(--color-slate-300);
	margin: 2px 0;
}
div.alfag input[type=text]
{
	width: 110px;
	padding: 8px 12px;
	height: 48px;
	border-radius: 8px;
}
div.alfag input[type=text]:focus
{
	outline: 2px solid var(--color-slate-400);
	outline-offset: 1px;
}
div.alfag select
{
	width: 150px;
	min-width: 80px;
	padding: 8px 12px;
	height: 38px;
	border-radius: 6px;
	background-color: var(--color-white);
	background-image: var(--bg-img-chevron-down-select);
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
}
div.alfag select:focus
{
	border: 1px solid var(--color-slate-400);
	outline: 0;
}
div.alfag select option:hover, div.alfag select option:checked
{
	background: var(--color-green-200);
}
div.alfag .tb2
{
	width: 60px !important;
}
div.alfag .sb2
{
	width: 95%;
}
div.alfag input[type=checkbox], div.alfag input[type=radio]
{
	width: 16px;
	height: 16px;
	margin: 4px 6px 4px 4px;
	vertical-align: middle;
	accent-color: var(--color-green-200);
}
div.alfag #btSubmit
{
	font-weight: 500;
	color: var(--color-white-permanent);
	background: var(--color-slate-800);
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	width: 150px;
	height: 48px;
	cursor: pointer;
}
div.alfag #btSubmit:hover
{
	transition: 0.300s ease-out;
	background: var(--color-slate-600);
}

div.alfag .iblink, div.alfag .iblink:hover
{
	display: inline-block;
	position: relative;
	text-decoration: underline;
	text-decoration-color: var(--color-slate-800);
	text-decoration-style: dashed;
	text-underline-offset: 4px;
	cursor: help;
}
div.alfag .infobox
{
	position: absolute;
	display: none;
	
	background-color: var(--color-green-100);
	border: solid 1px var(--color-green-100);
	border-radius: 6px;
	z-index: 100;
	width: 70%;
	padding: 0px;
	left: 15%;
}
div.alfag .infobox *
{
	color: var(--color-slate-900-permanent);
	text-align: left;
}
div.alfag .infobox h6
{
	margin: 0;
	padding: 10px;
	font-size: var(--font-size-base);
	font-weight: bold;
}
div.alfag .infobox p
{
	margin: 0;
	padding: 10px;
}

div.alfag .iLink
{
	background: url(/Images/fmh/info.svg) no-repeat;
	display: inline-block;
	width: 24px;
	height: 24px;
	/*bottom: 4px;*/
	vertical-align: middle;
	margin: 0;
	cursor: pointer;
	position: relative;
}

/*div.alfag h3
{
	font-size: 12px;
	font-size: 0.75rem;
	margin: 8px 0;
	color: #0077B0;
}*/

/*div.alfag #divResult h3
{
	margin: 1%;
	font-size: 12px;
	font-weight: bold;
	color: #0077B0;
}*/

/*div.alfag h4
{
	color: #333333;
	text-transform: uppercase;
	padding: 6px 8px;
	margin: 12px 0px 8px 0px;
	background-color: #EDEDED;
}*/

div.alfag .inputrow
{
	display: flex;
	flex-wrap: wrap;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	align-items: center;
}
div.alfag .inputrow > *
{
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: 0px;
	padding-left: 0px;
	margin-top: 0;
}
div.alfag .inputrow label
{
	display: inline-block;
	font-weight: bold;
	margin: 8px 0;
	/*width: 200px;*/
	white-space: normal;
	vertical-align: middle;
}
div.alfag .inputrow label a
{
	font-weight: bold;
}
div.alfag .col1, div.alfag .col2, div.alfag .col3, div.alfag .col4
{
	flex: 0 0 auto;
	padding: 4px 0;
}
div.alfag .col1
{
	width: 30%;
}
div.alfag .col2
{
	width: 5%;
	text-align: center;
}
div.alfag .col3, div.alfag .col4
{
	width: 25%;
}
div.alfag .col4
{
	/*display: none;*/
}
div.alfag .col
{
	flex: 1 0 0%;
}

div.alfag .heading-variante
{
	display: none;
}

div.alfag .advice
{
	/*margin-left: 8px;*/
}

div.alfag select
{
	min-width: 82px;
}

div.alfag .chart-container
{
	display: flex;
}
div.alfag .chart-box
{
	flex: 1 1 auto;
	text-align: center;
	margin: 10px 10px;
	/*width: auto;*/
}
div.alfag .chart
{
	width: 100%;
	max-width: 480px;
}

div.alfag .icol1
{
	width: 32%;
}

div.alfag .icol2
{
	width: 3%;
}

div.alfag .icol3
{
	width: 20%;
}

div.alfag .icol4
{
	width: 45%;
}

#divResult table
{
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	margin: 0px 0%;
}

#divResult table tr
{
	line-height: 20px;
}

#divResult .headerRow th
{
	font-size: var(--font-size-small);
	font-weight: bold;
	white-space: normal;
	text-transform: uppercase;
	line-height: 160%;
	color: var(--color-slate-900-permanent);
	background-color: var(--color-green-100);
	border-left: 2px solid var(--color-white);
	border-right: 2px solid var(--color-white);

	padding: 8px 4px 8px 4px;
}

#divResult table tr.footerRow td
{
	font-weight: bold;
}

#divResult table tr.odd
{
	/*background-color: rgba(221, 222, 222, 0.2);*/
}

#divResult table tr.even
{
	/*background-color: #fff;*/
}

/*#divResult table tr th
{
	border-spacing: 0;
	border-collapse: collapse;
	text-align: center;
	color: #0077B0;
	padding: 2px;
}*/

#divResult table tr td
{
	text-align: center;
	border-bottom: dotted 1px var(--color-slate-300);
	padding: 4px;
}

#divResult table tr.resultRow td
{
	font-weight: bold;
	border-top: 2px solid #000;
}

#divResult table tr .noBorder, #divResult table.box tr .noBorder
{
	/*border-top: dotted 1px var(--color-slate-300);*/
	/*background-color: #fff;*/
}

#divResult table.box tr td
{
	text-align: left;
	border-bottom: dotted 1px var(--color-slate-300);
	padding: 6px 4px;
}
#divResult table.box tr td.left, #divResult table.box tr th.left
{
	text-align: left !important;
}
#divResult table.box td.hlt, #divResult table.box tr.boxrow1 td
{
	/*background-color: #F4F4F4;*/
}

#divResult table tr.space
{
	line-height: 2px;
}

#divResult table tr.milestone td
{
	font-weight: bold;
}

/*#divResult p
{
	margin: 4px 8px;
}*/

/*div.alfag .footer
{
	background: none !important;
	padding: 0px 8px;
}*/

/*div.alfag .footer table .fmhlink
{
	width: 100px;
}*/

div.alfag .error, .alfag #valSum
{
	margin-left: 25px;
	color: #f00;
	font-weight: bold;
}

div.alfag .errorInput
{
	border: 1px solid #f00 !important;
}

/*#form1 h1, #form1 h2
{
	font-weight: bold;
	color: #0077B0;
}*/

/*#form1 h1
{
	font-size: 16px;
	font-size: 1rem;
	margin: 0 0 10px 0;
}*/

/*#form1 h2
{
	font-size: 14px;
	font-size: 0.85rem;
	margin: 10px 0 10px 8px;
}*/

/*div.alfag img
{
	border: none;
}*/

div.alfag hr
{
	background-color: var(--color-slate-300);
	border: none;
	height: 1px;
	margin: 12px 0 12px 0;
}

div.alfag div.alfChk
{
	padding-left: 3px;
}

div.alfag div.alfChk *
{
	vertical-align: middle;
}

div.alfag div.alfChk label
{
	vertical-align: middle;
	padding-left: 3px;
}

div.alfag .btn
{
	width: auto;
}
div.alfag .btn2
{
	width: 100px;

}

div.alfag .inputrow .rb
{
	display: inline-block;
}
div.alfag .inputrow .rb label
{
	display: inline;
	width: auto;
	cursor: pointer;
}
div.alfag .inputrow .rb label
{
	padding: 12px 12px;
	background-color: var(--color-white);
	border: 1px solid var(--color-slate-400);
	border-radius: 8px;

	display: inline-block;
	width: auto;
	/*padding: 8px 16px;*/
	margin: 0;
	/*color: #0077B0;*/
	/*border: 1px solid #0077B0;*/
	/*border-radius: 4px;*/
}
div.alfag .inputrow .rb label:hover
{
	transition: 0.300s ease-out;
	background: var(--color-slate-100);
}
div.alfag .inputrow .rb input
{
	position: absolute;
	clip: rect(0, 0, 0, 0);
	pointer-events: none;
}
div.alfag .inputrow .rb input:checked + label
{
	color: var(--color-white-permanent);
	background-color: var(--color-slate-800);
	border: 1px solid var(--color-slate-800);
}
div.alfag .inputrow .rb input:checked + label:hover
{
	transition: 0.300s ease-out;
	background: var(--color-slate-600);
}

/* Links */
div.alfag a
{
	color: var(--color-slate-800);
	text-decoration: none;
}
div.alfag a:hover
{
	transition: 300ms ease-out;
	text-decoration: underline;
}

div.alfag .btn-variante2
{
	display: inline-block;
	padding: 12px 24px;
	color: var(--color-slate-800);
	background: var(--color-white);
	border: 1px solid var(--color-slate-400);
	border-radius: 6px;
	/*font-size: 14px;*/
	font-weight: normal;
	white-space: nowrap;
	cursor: pointer;
	height: 48px;
	text-transform: none;
}
div.alfag .btn-variante2:hover
{
	transition: 0.300s ease-out;
	background: var(--color-green-200);
	border: 1px solid var(--color-green-700);
}

/* FMH-Footer */
div.alfag .fmh-footer
{
	display: flex;
	align-items: center;
	padding: 16px;
	margin-top: 24px;
}
div.alfag .fmh-footer > *
{
	flex: 3 1 auto;
}
div.alfag .fmh-footer-title1
{
	text-align: left;
	background: url(https://cdn1.fmh.de/images/common/icons/bar-chart-4.svg) no-repeat left;
	background-size: 16px;
	padding: 4px 4px 4px 20px;
}
div.alfag .fmh-footer-title2
{
	text-align: right;
}
div.alfag .fmh-footer a
{
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
}

div.alfag .fmh-footer
{
	background-color: var(--color-green-200);
	padding: 20px;
	border-radius: 6px;
}
div.alfag .fmh-footer *
{
	color: var(--color-slate-800-permanent);
}