/**
 * Service BW Frontend Styles
 */

/* === Lebenslagen === */

.lebenslagen-overview .category{
	margin-bottom: 24px;
	box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.1);
	background: var(--br-clr-grey-2);
	border-radius: 5px;
	overflow: hidden;
}

.lebenslagen-overview .category__image{
	width: 100%;
	height: 120px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.lebenslagen-overview .category__title{
	font-size: var(--br-fs-18);
	line-height: var(--br-fs-18-lh);
	font-weight: 700;
	padding: 16px 14px 14px 14px;
}

.lebenslagen-overview .category__title{
	font-size: var(--br-fs-18);
	line-height: var(--br-fs-18-lh);
	font-weight: 700;
	padding: 16px 14px 14px 14px;
	margin: 0px;
}

.lebenslagen-overview .category__title::after{
	display: none;
}

.lebenslagen-overview .category__items{
	padding: 0px 14px 14px 14px;
}

.lebenslagen-overview .category__items ul{
	margin-bottom: 0px;
}

.lebenslagen-overview .category__items ul > li{
	margin-bottom: 6px;
	padding-left: 17px;
}

.lebenslagen-overview .category__items ul > li::before{
	background: var(--br-clr-blue-2);
	width: 7px;
	height: 7px;
	top: 10px;
}

.lebenslagen-overview .category__items a{
	font-size: var(--br-fs-16);
	line-height: var(--br-fs-16-lh);
	transition: all 0.15s ease;
}

.lebenslagen-overview .category__items a:hover{
	color: var(--br-clr-blue-2);
	transition: all 0.3s ease;
}

/* Lebenslagen Detail */

.lebenslagen-detail{
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.lebenslagen-sidebar{
	flex: 0 0 280px;
	max-width: 280px;
}

.lebenslagen-content{
	flex: 1;
	min-width: 0;
	border-left: 1px solid #dee2e6;
	padding-left: 30px;
}

.lebenslagen-nav ul{
	list-style: none;
	padding: 0;
	margin: 0;
}

.lebenslagen-nav ul > li{
	position: relative;
	margin: 0px 0px 5px 0px;
	padding-left: 0px;
	font-size: var(--br-fs-16);
	line-height: var(--br-fs-16-lh);
	font-weight: 300;
}

.lebenslagen-nav li::before{
	display: none;
}

.lebenslagen-nav ul ul{
	padding-left: 16px;
	margin-top: 4px;
}

.lebenslagen-nav a{
	display: block;
	padding: 2px 4px;
	text-decoration: none;
	border-radius: 4px;
}

.lebenslagen-nav a:hover{
	background-color: var(--br-clr-blue-3) !important;
	color: #ffffff !important;
}

.lebenslagen-nav li.current > div > a{
	font-weight: bold;
}

.lebenslagen-nav li.active > div > a{
	color: var(--br-clr-blue-2);
	font-weight: bold;
}

.lebenslagen-content h1{
	margin-top: 0px;
}

.lebenslagen-content h1{
	margin-top: 0px;
}

.lebenslagen-content h2{
	margin-top: 30px;
}

.lebenslagen-content h3{
	margin-top: 25px;
}

.lebenslagen-content h4,
.lebenslagen-content h5,
.lebenslagen-content h6{
	margin-top: 20px;
}

.lebenslagen-leistungen{
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #dee2e6;
}

/* Leistungen Overview */

.leistungen-overview .leistungen-group{
	margin-bottom: 32px;
}

.leistungen-overview .leistungen-letter{
	font-size: 24px;
	font-weight: bold;
	padding-bottom: 8px;
	margin-bottom: 16px;
}

.leistungen-overview table{
	width: 100%;
	margin-top: 30px;
}

.leistungen-overview th:nth-child(3){
	width: 33%
}

.leistungen-overview th:nth-child(1),
.leistungen-overview th:nth-child(4){
	width: 1%
}

.leistungen-overview table th,
.leistungen-overview table td{
	font-size: var(--br-fs-16);
	line-height: var(--br-fs-16-lh);
	vertical-align: top;
}

.leistungen-overview td:nth-child(2){
	font-weight: 700;
	color: var(--br-clr-grey-1);
}

.leistungen-overview td:nth-child(3){
	font-weight: 300;
	color: var(--br-clr-grey-1);
}

.leistungen-overview table .leistungen-letter-row td{
	padding-top: 6px;
	padding-bottom: 6px;
	font-size: var(--br-fs-18);
	line-height: var(--br-fs-18-lh);
	
	background: #ececec;
	color: var(--br-clr-blue-2);
}

.leistungen-overview table td{
	border-bottom: 1px solid #c6c6c6;
}

.leistungen-overview ul{
	list-style: none;
	padding: 0;
	column-count: 2;
	column-gap: 32px;
}

.leistungen-overview li{
	break-inside: avoid;
	margin-bottom: 8px;
}

.leistungen-overview a{
	text-decoration: none;
}

.leistungen-overview td:nth-child(2) a:hover{
	text-decoration: underline;
}

/* Leistung Detail */
.leistung-detail .page-header{
	margin-bottom: 24px;
}

.leistung-kurztext{
	font-size: 1.16px;
	color: #6c757d;
	margin-bottom: 24px;
}

.leistung-detail h1{
	margin-top: 0px;
}

.leistung-detail h1{
	margin-top: 0px;
}

.leistung-detail h2{
	margin-top: 30px;
}

.leistung-detail h3{
	margin-top: 25px;
}

.leistung-detail h4,
.leistung-detail h5,
.leistung-detail h6{
	margin-top: 20px;
}

.leistung-lebenslagen{
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #dee2e6;
}

/* Collapsible Navigation */
.lebenslagen-nav .nav-item-wrapper{
	display: flex;
	align-items: center;
	gap: 8px;
}

.lebenslagen-nav .nav-item-wrapper a{
	flex: 1;
}

.lebenslagen-nav .nav-toggle{
	background: none;
	border: 1px solid #cccccc;
	border-radius: 3px;
	width: 24px;
	height: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 1;
	padding: 0;
	flex-shrink: 0;
}

.lebenslagen-nav .nav-toggle:hover{
	background-color: var(--br-clr-blue-3) !important;
	color: #ffffff !important;
	border: 1px solid var(--br-clr-blue-2);
}

.lebenslagen-nav .nav-children{
	overflow: hidden;
	transition: all 0.2s ease-out;
}

/* Responsive */
@media (max-width: 768px){
	.lebenslagen-detail{
		display: block;
		gap: 0px;
	}
	
	.lebenslagen-sidebar{
		flex: 1 1 100%;
		max-width: 100%;
		margin-bottom: 16px;
	}
	
	.lebenslagen-content{
		border-left: 0px;
		padding-lefT: 0px;
	}
	
	.leistungen-overview ul{
		column-count: 1;
	}
	
	.leistungen-overview table th,
	.leistungen-overview table td{
		font-size: var(--br-fs-14);
		line-height: var(--br-fs-14-lh);
		vertical-align: top;
	}
}
