@font-face { font-family: 'Open Sans';
             src: url('fonts/Open_Sans/OpenSans-Light.ttf') format('truetype'); font-weight: 300; }
@font-face { font-family: 'Open Sans';
             src: url('fonts/Open_Sans/OpenSans-Regular.ttf') format('truetype'); font-weight: 400; }
@font-face { font-family: 'Open Sans';
             src: url('fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype'); font-weight: 700; }
@font-face { font-family: 'Open Sans';
             src: url('fonts/Open_Sans/OpenSans-Bold.ttf') format('truetype'); font-weight: bold; }

:root {
/*  --bhvg-green: #50af31;
  --bhvg-green-rgba-07: rgba(80, 175, 49, 0.7);
  --bhvg-green-rgba-08: rgba(80, 175, 49, 0.8);*/
  
  --bhvg-green: #3c7d27;
  --bhvg-green-rgba-07: rgba(52, 116, 31, 0.7);
  --bhvg-green-rgba-08: rgba(52, 116, 31, 0.8);
  
  --bhvg-dark-green: #326721;
  --bhvg-dark-green-rgba-07: rgba(43, 96, 26, 0.7);
  --bhvg-dark-green-rgba-08: rgba(43, 96, 26, 0.8);
  --bhvg-dark-gray: #333;
}

* {
	box-sizing: border-box;
}

html
{
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	height: 100%;
	color: var(--bhvg-dark-gray);
	text-rendering: optimizeLegibility;
}

body {
	background-color: #fff;
	font: normal 16px sans-serif;
	font-family: 'Open Sans',sans-serif;
	margin: 0;
}
/* breadcrumbs */
.bcfirst span {
	display: inline-block;
  width: 2rem;
}
.st0 {fill: var(--bhvg-green);}
.high-contrast .st0 {fill: var(--bhvg-dark-green);}

h1, h2, h3 { margin-top: 0; }
h1 { font-size: 1.75rem; font-weight: 700; color: var(--bhvg-green); margin-bottom: 2.25rem; }
.high-contrast h1 { color: var(--bhvg-dark-green); }
h2 { font-size: 1.125rem; font-weight: bold; margin-bottom: 0; }
h2.h2mb { margin-bottom: 1rem; }
h2.legal-info-h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h3 { font-size: 1.125rem; font-weight: bold; margin-bottom: 0; }
label {min-width: 120px;}
.h1-small { font-size: 1.125rem; }

.green {color:var(--bhvg-green);}
.checkbox-landing { border-color: var(--bhvg-green); }
.high-contrast .green {color:var(--bhvg-dark-green);}
.high-contrast .checkbox-landing {color:var(--bhvg-dark-green);}

.input-time { max-width: 2rem; }
.centered { text-align: center; }
.desktop-only { display: none; }

.two-images-hor-container,
.stoerer-rechts-container { margin: auto; }
@media (min-width:1024px) {
	.two-images-hor-container,
	.stoerer-rechts-container {
		float: right;
		padding: 0 10%;
	}
}
.two-images-hor,
.one-image-hor {
	display: flex;
	flex-flow: row nowrap;
	width: 420px;
}
.two-images-hor { justify-content: space-between; }
.one-image-hor { justify-content: flex-end; }
.two-images-hor img,
.one-image-hor img {
	width: 180px;
	height: auto;
}
.two-images-hor img1 { width: 210px; }

a { color: black; text-decoration: none; }
a:hover { text-decoration: underline; }

#produktboxen h1,
#produktboxen h2 { margin: .5em 0; }
#produktboxen h2 { color: var(--bhvg-green); }
.high-contrast #produktboxen h2 { color: var(--bhvg-dark-green); }
#produktboxen a:before { content: '> '; }

.fw-bold { font-weight: 700; }
.fw-normal { font-weight: normal; }

p { margin-top: 0; }
p.imgcaption-home {
	margin: 0 0 0 .5rem;
}
p.imgcaption {
	margin-left: 1rem;
}
p.imgcaption-karriere {
	margin-left: 1rem;
	margin-bottom: 3em;
}
.clearleft { clear: left; padding-top: 1rem; }

.hinweis-home {
	border: 1px solid black;
	padding: 1rem;
}
.text-hinweis {  }
.underlined { text-decoration: underline; }

figure { margin: 0; padding: 0; }
figure img { width: 100%; }

figcaption {
	background-color: var(--bhvg-green);
	color: white;
	padding: 0.25em;
}
.high-contrast figcaption { background-color: var(--bhvg-dark-green); }

figure.img-full { position: relative; }
figure.img-full figcaption
{
	position: absolute;
	top: 30%;
	width: 100%;
	font-size: 16px;
	color: white;
	font-weight: 700;
	padding: 0;
	background-color: transparent;
	line-height: 1.8;
}
.container-halfwidth figure.img-full figcaption { top: 10%; }

figure.img-full figcaption span {
	padding: 0.125rem 1rem;
	background-color: var(--bhvg-green-rgba-07);
	display: inline;
	width: auto;
}
figure.img-full figcaption .slogan-subline {
	background-color: transparent;
	font-size: 16px;
	line-height: 16px;
	color: white;
	line-height: 1.2;
	padding: 0.125rem 1rem;
}
.high-contrast figure.img-full figcaption span { background-color: var(--bhvg-dark-green-rgba-07); }

.container-halfwidth figure.img-full figcaption span { line-height: 35px; }

figure.img-full figcaption img {
	width: 26.83vw;
	max-width: 326px;
	height: auto;
}

figure.img-full figcaption span.figcaption-innovativ,
figure.img-full figcaption span.figcaption-innovativ-2022,
figure.img-full figcaption span.figcaption-innovativ-2022-home
{
	background-color: transparent;
	line-height: 0;
	padding-left: 0;
}

figure.img-full figcaption span.figcaption-innovativ img
{
	width: 18%;
	height: auto;
	margin: 1.5% 2%;
}

figure.img-full figcaption span.figcaption-innovativ-2022 img
{
	width: 21%;
	height: auto;
	margin: 1.1% 2%;
}

figure.img-full figcaption span.figcaption-innovativ-2022-home img
{
	width: 20%;
	height: auto;
	margin: 0.5% 2%;
}

.finanztest-kl {margin: -2rem 0 1rem 0;}

.arrow-to-top { width: 20px; height: auto; }

@media (min-width:500px) {
	.container-halfwidth figure.img-full figcaption
	{
		top: 20%;
	}
}
@media (min-width:1220px) {
	.mobile-only { display: none; }
	figure.img-full figcaption { font-size: 1.9em; }
	figure.img-full figcaption span 
	{ 
		padding: 2px 18px;
	}
	figure.img-full figcaption .slogan-subline { color: black; }
}

/* Container */

main { width: 100%; background-color: #fff; padding: 0 1rem; }

/* Header */


#header-top-inner, #header-2nd, main, #footer-address-inner, #nav-legal {
	max-width: 75em;
	margin: auto;
}

#header-top a { color: white; }

header {
	margin: 0 auto;
}

#header-top { 
	width: 100%;
	background-color: var(--bhvg-green); 
	color: #fff;
	min-height: 46px;
  padding-top: 3px;
}
.high-contrast #header-top { background-color: var(--bhvg-dark-green); }
#header-top-inner { 
	display: flex; 
	flex-flow: row wrap;
}
#header-top-inner>div { padding: 0.2em 0.5em; }
#header-slogan { flex: none; width: 100%; }
#header-address { flex: none; width: 100%; display: flex; }
#header-phone-number { flex: none; padding: 0 1em 0 0; color: white; text-align: left; white-space: nowrap; }
#header-phone-number a { color: white; }
#header-email-address { flex: 1; text-align: left; padding-right: 65px;}

#header-2nd { 
	display: flex;
	flex-flow: row wrap; 
	min-height: 10em; 
	padding: 0 0.25em 1em 0.25em; 
	justify-content: flex-start; 
}

#logo { flex: 1; padding: 1em 1em 0 0; }
#logo a { display: block; width: fit-content; }
#svglogo { width: 11.25em; }

header #menu { 
	padding-top: 1.8em;
	flex: 4;
}

header #nav-trigger
{
	display: block;
	cursor: pointer;
	padding: 0.4em 1em;
	display: flex;
	justify-content: flex-end;
}

	.line {
		width: 40px;
		height: 4px;
		background: #000000;
		margin-bottom: 5px;
	}
	
#menu nav {
	border: 1px solid #000;
	width: 100vw;
	min-height: 23em;
	background: var(--bhvg-green-rgba-08);
	position: absolute;
	top: 11em;
	left: -100vw;
	z-index: 100;
	transition: left .5s;
}
.high-contrast #menu nav { background: var(--bhvg-dark-green-rgba-08); }

#menu nav ul {
	list-style: none;
	display: block;
	margin: 2em 2em 2em 1.8em;
	padding: 0;
}

#menu nav a { color: #fff; }

#menu nav li { font-size: 1.5em; margin: 0.4em; }
#menu nav li#x-li { text-align: right; }
#menu nav li a#x-close { border: 2px solid white; padding: 0 0.5em; }
#menu nav li a#x-close:hover { text-decoration: none; }

/* breadcrumbs */

div#breadcrumbs { width: 100%; padding: 1em 0.25em 0.25em 1em; }

#breadcrumbs img#bc-home { width: 2em; height: 1.875em; margin-bottom: -0.2em; }

#breadcrumbs ol {
	margin: 0 0 0 1em;
	padding: 0;
	list-style: none;
	display: inline;
}

#breadcrumbs ol li {
	display: inline-block;
	margin-right: 0.5em;
}

#breadcrumbs ol li a {
	color: var(--bhvg-green);
	font-weight: 400;
}
.high-contrast #breadcrumbs ol li a { color: var(--bhvg-dark-green); }

#breadcrumbs ol li a::after {
	margin-left: 0.5em;
	content: '>';
	color: #000;
	font-weight: normal;
}

#breadcrumbs ol li:last-child a::after {
	margin-left: 0.5em;
	content: '';
}

#breadcrumbs::after { clear: both; }

/* Ticker unterhalb header */
.ticker
{
	padding: 1.25em;
	max-width: 74.5em;
	margin: auto;
	background-color: #F9FF88;
	font-weight: bold;
}

/* Content Section */

article { padding: 1em 0.5em; }

article section.margin-b { margin-bottom: 3em; }

/*article section { padding: 2.75em 2.5em; }*/

article section#imprint-designinfo { padding-top: 2.5em; }
article section#imprint-designinfo ol li span { white-space: nowrap; hyphens: none; }

article a { color: #000; text-decoration: underline; }
article a:hover { color: var(--bhvg-green); }
.high-contrast article a:hover { color: var(--bhvg-dark-green); }
a.arrowlink
{
	background: url("images/css/arrowlink.png") no-repeat 0 5px;
	padding-left: 16px;
	font-weight: bold;
}
a.arrowlink:hover { background-image: url(images/css/arrowlink-hover.png); }

/* slider */

.slider 
{
	width: 100%;
	margin: auto;
}
.slick-dotted.slick-slider { margin-bottom: 4.5rem; }
.slider img { width: 100%; }


/* slick slider overrides */
.slick-prev::before, .slick-next::before { opacity: 1; }
.slick-dots li button::before { opacity: .75; }
.slick-prev, .slick-next { outline: var(--bhvg-dark-gray); }
.slick-prev
{
	left: 1px;
	top: 103%;
	background-color: var(--bhvg-dark-gray);
}
.slick-next {
	right: 1px;
	top: 103%;
	background-color: var(--bhvg-dark-gray);
}
.slick-dots {
	width: 90%;
	left: 0;
	right: 0;
	margin: 0 auto;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    background-color: #000;
}

/* Ende slick slider overrides */
/* Ende slider */


/* eigene Page- und Inhalts-Klassen */

div.flexrow {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
	align-items: center;
}
.sp-between { justify-content: space-between; }
.align-top { align-items: flex-start !important; }
ul.top-0 {margin-top: 0;}

.col-textimage { 
	flex: 1 0 15rem;
	text-align: center;
}

.col-50 {
	width: 50%;
}
.flex-b0 { flex-basis: 0; }
.col-50 figure { display: flex; flex-direction: column; margin-bottom: 1rem; }
.col-50 figure img { width: auto; }
.col-50 figcaption {
	background-color: transparent;
	color: var(--bhvg-dark-gray);
	font-size: .75em;
}
.high-contrast .col-50 figcaption {color: var(--bhvg-dark-gray);}


#website {
    z-index:999;
    position:absolute;
    height:0;
    width:0;
    border:none;
    background:none;
    margin:0;
    top:0;
    left:0;
    clear:both;
    font-size:0px;
    line-height:0px;
}

#sprechstunden-intro { padding: 0; }
#sprechstunden-intro h1 { margin: 2.5rem 0 2.25rem 0; }

#kontakte h1 { margin-bottom: 0.5em; }
#kontakte section { margin-bottom: 2.5em; }
#kontakte h2,
#sprechstunden h2,
#tarifrechner h2,
h2.h2-coloured { margin: 2em 0 1em; color: var(--bhvg-green); }
.high-contrast #kontakte h2,
.high-contrast #sprechstunden h2,
.high-contrast #tarifrechner h2,
.high-contrast h2.h2-coloured { color: var(--bhvg-dark-green); }

.links-tarifrechner {
	background-image: url('images/icon-tarifrechner.svg');
	background-repeat: no-repeat;
	padding-left: 55px;
}

.span-left { display:inline-block; min-width: 11em; }

span.nowrap { white-space: nowrap; }

dl.contact-address dd { margin-left: 0; }

#kontakte .b_toggle,
#kontakte .b_big
{
	background-color: #fff;
	color: var(--bhvg-green);
	display: flex;
	min-height: 2.5em;
	overflow: auto;
	padding: 0.5em 0.25em 0px 0.25em;
	margin-bottom: 1em;
	text-decoration: none;
	border: 1px solid var(--bhvg-green);
	border-radius: 5px;
}
.high-contrast #kontakte .b_toggle,
.high-contrast #kontakte .b_big { color: var(--bhvg-dark-green); border: 1px solid var(--bhvg-dark-green); }
#kontakte .b_toggle.down { background-clip: white; }
#kontakte .b_toggle h2,
#kontakte .b_big h2 { color: var(--bhvg-green); margin: 0 0 0 1em; float: left; }
.high-contrast #kontakte .b_toggle h2,
.high-contrast #kontakte .b_big h2 { color: var(--bhvg-dark-green); }
#kontakte .b_toggle:hover,
#kontakte .b_big:hover { background-color: var(--bhvg-green); color: white; }
.high-contrast #kontakte .b_toggle:hover,
.high-contrast #kontakte .b_big:hover { background-color: var(--bhvg-dark-green); }
#kontakte .b_toggle:hover h2,
#kontakte .b_big:hover h2 { color: white; }
#kontakte .b_toggle .arrow_toggle,
#kontakte .b_big .arrow_toggle { padding: 0 10px; float: left; width: 15px; }

.toggle_section { display: block; overflow: auto; padding-left: 1em; }
.toggle_section.hidden { display: none; }

dl.dl-inline { overflow: auto; padding: 0.5em; border: 1px solid #ccc; background-color: #eee; border-radius: 5px; }
dl.dl-inline dt { font-weight: bold; }

div#partner dt a {
	margin: auto;
	width: 10em;
	display: block;
}
div#partner dd { text-align: center; margin: 0 0 2em 0; }

.to-top { text-align: right; padding-bottom: 2.75em; width: 99%; }
.to-top a { text-decoration: none; }
.to-top a::after { 
	content: url("images/icons/back-to-top.svg"); 
  display: inline-block;
  width: 20px;
  height: auto;
}
.high-contrast .to-top a::after { content: url("images/icons/back-to-top-dark.svg"); }
.to-top a:hover { text-decoration: underline; color: var(--bhvg-green); }
.high-contrast .to-top a:hover { color: var(--bhvg-dark-green); }
.to-top a div { 
	display: inline-block; 
	width: 0.3em; 
	font-size: 1.7em; 
	color: var(--bhvg-green); 
	transform: rotate(90deg);
	padding: 0 0.5em; 
}
.high-contrast .to-top a div { color: var(--bhvg-dark-green); }


.Grid-cell h1 { font-size: 1em; font-weight: 700; margin-bottom: 0.25em; }
.Grid-cell img { width: 100%; }
.Grid-for-boxes img { min-width: 16em; }

table.table_leistungen
{
	border-collapse: collapse;
	margin-bottom: 1em;
	width: 100%;
}

table.table_leistungen th, table.table_leistungen td
{
	border: 1px solid var(--bhvg-dark-gray);
	padding: 2px 2px 2px 4px;
	font-size: 1em;
}

table.table_leistungen tr:nth-child(odd){background-color: #eee;}
/*table.table_leistungen tr:hover {background-color: #ddd;}*/

table.table_leistungen th
{
	background-color: var(--bhvg-green);
	color: white;
	font-weight: bold;
	text-align: left;
}
.high-contrast table.table_leistungen th { background-color: var(--bhvg-dark-green); }

table.table_leistungen .th2, table.table_leistungen .th3 { width: 8em; }


#produktboxen ul { margin: 0.5em 0 1em 0; padding: 0; list-style: none; }
#produktboxen ul a { color: var(--bhvg-green); white-space: nowrap; }
.high-contrast #produktboxen ul a { color: var(--bhvg-dark-green); }

.karriere ul { list-style: none; padding-left: 1em; }

.karriere ul li::before {
  content: "\25A0";  /* U+25A0 black square */
  color: var(--bhvg-green);
  font-weight: bold;
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1em; /* Also needed for space (tweak if needed) */
}
.high-contrast .karriere ul li::before { color: var(--bhvg-dark-green); }


#box-widerspruchsrecht {
	border: 1px solid black;
	padding: 1rem;
}

/* Footer */

footer p {
	margin: 0;
}
footer a[href^="tel:"] {
	color: white;
}

#footer-address {
	background-color: var(--bhvg-green);
	color: #fff;
}
.high-contrast #footer-address { background-color: var(--bhvg-dark-green); }

#footer-address-inner, #nav-legal {
	padding: 1rem 2.25rem;
}
p#footer-slogan { font-size: 1.5rem; margin: 0 0 1rem 0; }
footer address { font-style: normal; }
	
footer address span { visibility: hidden; }
footer address span::after { 
	content: "\A";
	white-space: pre; 
}

footer a {
	text-decoration: underline;
}

footer ul { margin:0; padding: 0; list-style: none; }
footer ul li { display: inline-block; padding-right: 1em; }
footer ul li a {
	text-decoration: none;
}

/* Ordered Lists (zB AGB) */

#agb ol { counter-reset: item; padding-left: 10px; }
#agb ol li { display: block; margin-top: 8px; }
#agb ol li:before { content: counters(item, ".") "."; counter-increment: item; margin-right: 10px; font-weight: bold; }

@media (min-width: 400px) {
	#logo {padding: 1em 12em 0 0; max-width: 230px;}
	#svglogo {width: 14.1875em; height: 4.5em;}
}

@media (min-width:970px)
{
	figure.img-full figcaption { top: 40%; font-size: 2rem;}
	figure.img-full figcaption span {
		background-color: var(--bhvg-green-rgba-07);
	}
	#header-top-inner>div { padding: 0.5rem 1rem 0.5rem 0.5rem; }
	#header-slogan { flex: 6; width: auto; }
	#header-address { flex: 1; width: auto; display: flex; }
	#header-phone-number { text-align: right; }
	#header-email-address { text-align: right; }
	h1
	{
		font-size: 2rem;
		margin-bottom: 3.25rem;
	}
	.h1home { argin-bottom: 2rem; }

	header #nav-trigger { display: none; }
	#menu nav li#x-li { display: none; }
	
	#menu nav
	{
		border: 0;
		width: auto;
		background: none;
		position: static;
		z-index: 0;
		transition: none;
		margin-left: 1.8em;
		min-height: 2em;
	}
	.high-contrast #menu nav { background: none; }
	#menu nav ul {
		display: flex;
		justify-content: right;
		margin: 0 1rem 0 0;
	}
	#menu nav li {
		margin-right: 1em;
		font-size: 1.075em;
		white-space: nowrap;
	}
	#menu nav>ul>li:last-child { margin-right: 0; }
	
	#menu nav a { color: #000; }
	#menu nav a:hover,
		#menu nav a.current
	{
		color: var(--bhvg-green);
		text-decoration: none;
		padding-bottom: 0.5em;
		border-bottom: 0.25em var(--bhvg-green) solid;
	}
	.high-contrast #menu nav a:hover,
	.high-contrast	#menu nav a.current
	{
		color: var(--bhvg-dark-green);
		border-bottom: 0.25em var(--bhvg-dark-green) solid;
	}
	
	/*article section { padding: 2.75em 5.5em; }*/
	article { padding: 2.75em 2.5em; }

	div.flexrow {
		flex-flow: row nowrap;
	}

	.container-halfwidth {
		width: 50%;
		float: left;
		padding-right: 1rem;
	}
	
	.container-halfwidth-right div.flexrow { 
		flex-flow: row wrap;
	}
	
	.two-cols-sprechstunden { display: flex; }
	#sprechstunden-intro { padding: 0 0 0 1em; }
	#sprechstunden-intro h1 { margin: -0.75rem 0 1.75rem 0; }
	
	dl.dl-inline dt,
	dl.dl-inline dd { padding-bottom: .5em; overflow: auto; }
	dl.dl-inline dt { clear: left; width: 16em; float: left; }
	dl.dl-inline dd { padding-left: 1em; }
	
	div#partner dt { text-align: center; }
	div#partner dt a { width: auto; }
	div#partner dd { text-align: left; }
	
	table.table_leistungen { width: 46em; }
}

@media (min-width: 1120px) {
	.desktop-only { display: block; }
	.container-halfwidth figure.img-full figcaption
	{
		top: 30%;
	}
	.container-halfwidth-right div.flexrow { 
		flex-flow: row nowrap;
	}
	
	#menu nav { margin-left: 0; }
	header #menu { 
		padding-top: 3em; 
	}
	div#breadcrumbs { padding-left: 14.1875em;}
	.Grid-cell h1 { font-size: 1.125em; font-weight: 700; margin-bottom: 0.25em; }
	
	main { padding: 0 0; }
	
	p.imgcaption {
		margin-left: 0;
	}

	footer address span { visibility: visible; padding: 0 0.75em; }
	footer address span::after
	{
		content: "\A";
		white-space: normal;
	}
}

@media (min-width:1300px){
	#header-email-address {padding-right: 0;}
}




