/**
 * @copyright Presto GmbH
 * Krankengeldrechner | IKK BB
 */

/**
 * Fonts
 */ 
@font-face {
	font-family: 'rechner';
	src: url('fonts/rechner.eot?18356468');
	src: url('fonts/rechner.eot?18356468#iefix') format('embedded-opentype'),
		 url('fonts/rechner.woff?18356468') format('woff'),
		 url('fonts/rechner.ttf?18356468') format('truetype'),
		 url('fonts/rechner.svg?18356468#rechner') format('svg');
	font-weight: normal;
	font-style: normal;
}

/* @font-face {
	font-family:"Proxima Nova Regular";
	font-style:normal;
	font-weight:300;
	font-display:swap;
	src:url('font/ProximaNova-Regular.eot');
	src:url('font/ProximaNova-Regular.eot?#iefix') format("embedded-opentype"),
		url('font/ProximaNova-Regular.woff2') format("woff2"),
		url('font/ProximaNova-Regular.woff') format("woff"),
		url('font/ProximaNova-Regular.ttf') format("truetype")
}
@font-face {
	font-family:"Proxima Nova Semi Bold";
	font-style:normal;
	font-weight:500;
	font-display:swap;
	src:url('font/ProximaNova-Semibold.eot');
	src:url('font/ProximaNova-Semibold.eot?#iefix') format("embedded-opentype"),
		url('font/ProximaNova-Semibold.woff2') format("woff2"),
		url('font/ProximaNova-Semibold.woff') format("woff"),
		url('font/ProximaNova-Semibold.ttf') format("truetype")
}
@font-face {
	font-family:"Proxima Nova Extra Bold";
	font-style:normal;
	font-weight:700;
	font-display:swap;
	src:url('font/ProximaNova-Extrabld.eot');
	src:url('font/ProximaNova-Extrabld.eot?#iefix') format("embedded-opentype"),
		url('font/ProximaNova-Extrabld.woff2') format("woff2"),
		url('font/ProximaNova-Extrabld.woff') format("woff"),
		url('font/ProximaNova-Extrabld.ttf') format("truetype")
} */

/* roboto-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v50-latin-300.woff2') format('woff2'),
       url('../fonts/roboto-v50-latin-300.woff') format('woff');
}
/* roboto-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v50-latin-regular.woff2') format('woff2'),
       url('../fonts/roboto-v50-latin-regular.woff') format('woff');
}
/* roboto-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v50-latin-700.woff2') format('woff2'),
       url('../fonts/roboto-v50-latin-700.woff') format('woff');
}


*,
*::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 "Roboto", sans-serif;
	background-color: var(--bodyBgColor);
	color: var(--bodyColor);
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
}

.strong {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}
.text-xs { font-size: 14px; }
a, a:active, a:visited { 
	color: var(--linkColor); 
	text-decoration: underline; 
}
a:hover { 
	color: var(--linkHoverColor);
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--headerColor);
    font-family: "Roboto", sans-serif;
	font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    margin-top: 0;
}
.h1, h1 {
	font-size: 1.5rem;
    letter-spacing: -.04375rem;
    margin-bottom: 1.25rem;
}
.h2, h2 {
	font-size: 1.25rem;
    letter-spacing: -.04375rem;
    margin-bottom: 1.25rem;
}
p {
    margin-bottom: 25px;
}
p:last-child {
    margin-bottom: 0;
}

ol, ul {
    margin-top: 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
    margin-left: 3rem;
    padding: 0 0 0 6px;
}
.sup {
    vertical-align: top;
    font-size: smaller;
    line-height: 100%;
}
.left { text-align:left; }
.right { 
	text-align:right;
	padding-left:50px; 
}
hr {
	color: #1e1e1e;
	border: none; 
	border-top: var(--borderWidth) var(--bodyColor); 
	background-color: #FFFFFF; 
	height: 1px;
}
.hr {
	border-bottom: var(--borderWidth) var(--bodyColor); 
}
.fullWidth {
	width:100%;
}
.icon {
	font-family: "rechner";
	font-style: normal;
	font-weight: normal;
	speak: none;     
	display: inline-block;
	text-decoration: inherit;
	width: 1rem;
	text-align: center;
	font-variant: normal;
	text-transform: none; 
	line-height: 1rem; 
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.icon-question {
	position: relative;
    top: -2px;
	color: var(--iconColor);
	font-size: 18px;
	cursor: help;
	display: inline;
	white-space: nowrap;     
}
.icon-warning {
	position: relative;
	margin-right: 10px;
	color: var(--errorColor);
	font-size: 18px;
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    -moz-border-radius:4px;
	-webkit-border-radius:4px;
    border-radius:4px;
}
.alert-danger {
    color: var(--errorColor);
    background-color: var(--white);
    border: var(--borderWidth) var(--errorColor);
}
.alert-danger strong {
    color: var(--errorColor);
}
.hide-for-print {
	display: none;
}
.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;
}
.footnote {
	margin: 1rem 0;
}

.krankengeldrechner {
	/* margin:15px; */
	margin: 0;
	/* max-width: 690px; */
}

/**
 * Form
 */
.fform {
	margin: 0 0 0 0;
}
.fform fieldset {
	border: 0 none;
    margin: 0;
	padding: 0;
	width: 100%;
}
.fform .visibleFieldset fieldset {
    
}
.fform .visibleFieldset {
    margin: 1.5rem 0;
	padding: 1.5rem;
    border: var(--borderWidth) var(--visibleFieldsetLineColor);
    width: 100%;
}
.fform legend {
    font-family: "Roboto", sans-serif;
	font-weight: 700;
	color: var(--legendColor);
    border-bottom: none;
    margin-bottom: 10px;
    width: auto;
}
.fform div.flex,
.fform div.flex-right {
    display: flex;
}
.fform div.flex input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.fform .input-group {
	display: flex;
	align-items: center;
	width: 100%;
	margin-bottom: 1.5rem;
}
.fform div.label {
	font-family: "Roboto", sans-serif;
    border: 0;
    width: 45%;
    text-align: left;
    padding-right: 1rem;
}
.fform div.input {
    width: 55%;
}
input[type=text] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-clip: padding-box;
    background-color: var(--inputBgColor);
    border: var(--borderWidth) var(--inputBorderColor);
	border-right: 0;
	border-top-left-radius: .25rem;
	border-bottom-left-radius: .25rem;
    color: var(--inputColor);
    font-family: inherit;
    font-size: 1rem;
	font-weight: 400;
	line-height: 20px;
	/* box-shadow: inset 0 1px 1px rgb(0 0 0 / .075); */
	padding: 6px 12px;	
	min-height: 40px;
    display: block;
    width: 100%; 
}
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    background-color: var(--inputBgColor);
    border: var(--borderWidth) var(--inputBorderColor);
	border-radius: .375rem;
    color: var(--inputColor);
	font-family:inherit;
    font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	/* box-shadow: inset 0 1px 1px rgb(0 0 0 / .075); */
	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;
}
.fform .addon {
    padding: 6px 12px;
    color: var(--addonColor);
    font-size: 16px;
    text-align: center;
    background-color: var(--addonBgColor);
    border: var(--borderWidth) var(--inputBorderColor);
	border-left: 0;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
	box-shadow: inset 0 1px 1px rgb(0 0 0 / .075);
	min-height: 40px;
	align-items: center;
    display: flex;
}
/* 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: var(--inputBgColor);
    border: var(--borderWidth) var(--inputBorderColor);
    border-radius: 50%;
    cursor: pointer;
}
input[type=radio]:checked+label:after {
    content: "";
    display: block;
    position: absolute;
    left: 4px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: var(--checkedRadioBgColor);
	cursor: pointer;
}
input[type=radio]+label {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
.radioLabel {
    margin: 0 10px 0 0;
	vertical-align: middle;
}

/* buttons */
.btn {
    background-color: var(--buttonBg);
	border: var(--buttonBorderWidth) var(--buttonBorderColor);
    border-radius: .375rem;
    color: var(--buttonColor);
	font-size: 16px;
	padding: .8125rem 1.5625rem;
	font-family: "Roboto", sans-serif;
	font-weight: 700;
	/* letter-spacing: .1875rem;
	text-transform: uppercase; */
	cursor: pointer;
    display: inline-block;
    position: relative;
    text-align: center;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
.btn:hover {
    background-color: var(--buttonHoverBg);
	/* border: var(--buttonBorderWidth) var(--buttonHoverBg); */
}

/* states */
body:not(.user-is-tabbing) button:focus,
body:not(.user-is-tabbing) input:focus,
body:not(.user-is-tabbing) select:focus {
  outline: none;
}

select:focus,
input[type=text]:focus,
input[type=radio]:focus + label:before,
.icon-question:focus,
.btn:focus {
	border-color: #000000;
    /* box-shadow: inset 0 1px 1px rgb(0 0 0 / .075), 0 0 8px rgb(102 175 233 / .6); */
}
select:focus-visible,
input[type=text]:focus-visible,
input[type=radio]:focus-visible + label:before,
.icon-question:focus-visible,
.btn:focus-visible {
	outline: 1px solid #0A3547;
    /* outline-offset: 1px; */
}

input[type=text]:focus,
input[type=text]:focus-visible {
	z-index: 1;
    border-right: var(--borderWidth) var(--inputBorderColor);
}
.icon-question:focus,
.icon-question:focus-visible {
	border-radius: 50px;
}


/**
 * Result Table
 */
#ergebnis { margin: 1.5rem 0 2rem 0; }
#ergebnis-data { display: none; }
.result_table,
.ergebnis-data {
	background-color: var(--bodyBgColor);
	color: var(--bodyColor);
	padding: 0;
	margin: 0;
	border: none;
	border-collapse: collapse;
	width: 100%;
}
.result_table td,
.result_table th {
	padding: 5px;
	padding-left: 30px;
	vertical-align: middle;
	height: 2rem;
}
.result_table th {
	font-family: "Roboto", sans-serif;
	font-weight: 700;
}
.result_table tr.odd td,
.result_table tr.odd th {
	background-color: #F6F6F6;
}      
.toggle {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");
	background-position: center left;
	background-repeat: no-repeat;
	cursor: pointer;
}
.toggle.expanded {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
	background-position: left;
	background-repeat: no-repeat;
}
.hide span.list { 
	margin-left: 40px;
	display: list-item;
	list-style-type: disc;
}
.hide {
	font-size:smaller;
}
#dialogMonatxs { 
	display:none;
} 


@media only screen and (max-width: 575.98px) {
	.fform .input-group {
		display: block;
	}
	input[type=text],
	select,
	.fform div.label,
	.fform div.input {
		width:100%;
	}
	.btn {
		display: block;
		width: 100%;
		margin-bottom: 15px;
	}
	.fform div.label {
		font-weight: bold;
		margin-bottom: 1rem;
		padding-right: 0;
	}
	.fform .visibleFieldset fieldset {
		margin-bottom: 10px;
	}
	
	/* Force table to not be like tables anymore */
	.collapsible table, .collapsible thead, .collapsible tbody, .collapsible th, .collapsible td, .collapsible tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	.collapsible thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.collapsible tr { border: 1px solid #ccc; }
	
	.collapsible td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
	}
	
	.collapsible td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	.result_table.collapsible td:nth-of-type(1):before { content: "Tag"; }
	.result_table.collapsible td:nth-of-type(2):before { content: "Monat *"; }
	.result_table.collapsible td:nth-of-type(3):before { content: ""; }
	
	.collapsible #hr { 
		display:none; 
	}
	.hide { 
    padding-left:0;
  }
  .hide span.list {
    margin-left: 10px;
  }
  #dialogMonatxs { 
    display:block;
  } 
	
}

@media print {
    input, select {
    height: auto;
    padding: 0;
    line-height: 1.5em;
    border: transparent;
    -webkit-box-shadow: none; 
    box-shadow: none;
    -webkit-transition:none;
    -o-transition: none;
    transition: none;
	-webkit-appearance: none;
	}
	h3 {
	margin:15px 0;
	}

  .result_table td {
   padding-left:0;
  }
	
	#ergebnis, #ergebnis-data { display: block; margin-left: 0; width:100%; }
	#ergebnis-data { margin-bottom: 30px; }
	input.btn, #krankengeld, #intro, .icon, .footnote { display: none; }
	.toggle, .toggle.expanded {
	  background:none;
	}
	.hide-for-print {
		display: block;
	}

}

:root {
    --white: #ffffff;
	--lightGrey: rgba(204, 204, 204, 0.65);
	--darkGrey: #222222;
	--black: #000000;
	--bodyBgColor: #ffffff;
	--bodyColor: #333333;
	--headerColor: #0A3547;
	--legendColor: #002433;
	--visibleFieldsetLineColor: #cccccc;
	--iconColor:  #0177a0;
	--errorColor:#C82246;
	--linkColor: #0A3547;
	--linkHoverColor: #0A3547;
	--borderWidth: 2px solid;
	--inputColor: #333333;
	--inputBgColor: var(--white);
	--inputBorderColor: #CED7DA;
	--inputhoverBgColor: var(--white);
	--inputhoverBorderColor: #CED7DA;
	--addonBgColor: var(--white);
	--addonColor: #333333;
	--checkedCheckboxBgColor: #00D1FF;
	--checkedRadioBgColor: #00D1FF;
	--readonlyBgColor: rgba(0,0,0,.025);
	--readonlyColor: #333333;
	--readonlyBorderColor: #CED7DA;
    --buttonBg: #00D1FF;
    --buttonColor: var(--black);
	--buttonBorderColor: #00D1FF;
	--buttonBorderWidth: var(--borderWidth);
	--buttonHoverBg: #ffffff;
	--resultHighlightColor: #0A3547;
	--hrColor: var(--darkGrey);
	--trOddBg: var(--white);
	--trOddColor: #333333;
	--dialogTitlebarBg: #0A3547;
}
/* Dark theme */
@media (prefers-color-scheme: dark) {
	:root {
		--white: #e5e5e5;
		--lightGrey: rgba(204, 204, 204, 0.65);
		--darkGrey: #222222;
		--black: rgba(0, 0, 0, 0.65);
		--bodyBgColor: var(--darkGrey);
		--bodyColor: var(--lightGrey);
		--headerColor: var(--lightGrey);
		--legendColor: var(--lightGrey);
		--visibleFieldsetLineColor: rgba(0, 110, 183, 0.75);
		--iconColor: rgba(0, 110, 183, 0.75);
		--errorColor: #d20a11;
		--linkColor: #006eb7;
		--linkHoverColor: #006eb7;
		--borderWidth: 1px solid;
		--inputColor: var(--darkGrey);
		--inputBgColor: var(--lightGrey);
		--inputBorderColor: #dee2e6;
		--inputhoverBgColor: var(--lightGrey);
		--inputhoverBorderColor: #dee2e6;
		--addonBgColor: var(--lightGrey);
		--addonColor: var(--darkGrey);
		--checkedCheckboxBgColor: #006eb7;
		--checkedRadioBgColor: #006eb7;
		--readonlyBgColor: rgba(255,255,255,0);
		--readonlyColor: var(--lightGrey);
		--readonlyBorderColor: var(--lightGrey);
		--buttonBg: rgba(210, 10, 17, 0.75);
		--buttonColor: var(--white);
		--buttonBorderColor: rgba(210, 10, 17, 0.75);
		--buttonBorderWidth: var(--borderWidth);
		--buttonHoverBg: rgba(137, 7, 11, 0.75);
		--resultHighlightColor: var(--white);
		--hrColor: var(--lightGrey);
		--trOddBg: var(--darkGrey);
		--trOddColor: var(--lightGrey);		
		--dialogTitlebarBg: #006eb7;
	}
	.result_table tr.odd td,
	.result_table tr.odd th {
		background-color: var(--black);
	} 
	.toggle {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4'/%3E%3C/svg%3E");
	}
	.toggle.expanded {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z'/%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8'/%3E%3C/svg%3E");
	}
}