/* CSS styles for HIBB shift plugin by STADTKREATION - 12/2020 */

/* shift header */

#shift .shift-header {
	display:flex;
}

#shift .shift-header > * {
	flex-grow:1;
}

#shift .shift-header *:last-child {
	text-align:right;
}

#shift .shift-header .shift-logo img {
	width:280px;
	max-width:100%;
	height:auto;
}

#shift .shift-header .shift-menu ul {
	list-style:none;
}

#shift .shift-header .shift-menu ul li {
	border-bottom:1px solid #dfdfdf;
}

#shift .shift-header .shift-menu ul li:last-child {
	border-bottom:none;
}

#shift .shift-header .shift-menu a {
	color:#015da9;
	font-weight:bold;
}

#shift .shift-header .shift-menu a:hover,
#shift .shift-header .shift-menu a:focus,
#shift .shift-header .shift-menu a:active {
	color:#0e78a1;
}

@media (max-width:599px) {
	#shift .shift-header {
		display:block;
	}
	#shift .shift-header .shift-logo {
		margin-bottom:20px;
	}
}

/* teasers */

#shift .shift-teasers {
	display:flex;
	flex-wrap:wrap;
}

#shift .shift-teasers,
#shift .inner > .shift-teaser {
	width:calc(100% + 30px + 120px + 4px);
	max-width:1024px;
	margin:0 -122px 0 -32px;
}

#shift .shift-teasers .shift-teaser {
	width:calc(33.33% - 4px);
	margin:0 2px 4px;
	background:#015da9;
}

#shift .shift-teasers .shift-teaser.full {
	width:calc(100% - 4px);
}

@media (max-width:1023px) {
	#shift .shift-teasers,
	#shift .inner > .shift-teaser {
		width:calc(100% + 90px + 4px);
		margin:0 -92px 0 -2px;
	}
}

@media (max-width:979px) {
	#shift .shift-teasers .shift-teaser {
		width:calc(50% - 4px);
	}
}

@media (max-width:767px) {
	#shift .shift-teasers,
	#shift .inner > .shift-teaser	{
		width:calc(100% + 4px);
		margin:0 -2px;
	}
}

@media (max-width:599px) {
	#shift .shift-teasers .shift-teaser {
		width:calc(100% - 4px);
	}
}

#shift .shift-teaser {
	padding:20px 10px 10px;
	background:#015da9
}

#shift .inner > .shift-teaser {
	box-sizing:border-box;
	padding:20px 30px 10px;
}

#shift .inner > .shift-teaser p {
	max-width:800px;
}

#shift .shift-teaser.color2 {
	background:#0e78a1;
}

#shift .shift-teaser.color3 {
	background:#e12719;
}

#shift .shift-teaser * {
	color:white;
}

/* beratungswegweiser */

#beratungswegweiser {
	border: 1px solid black;
	padding: 40px 20px;
	background: #e6e5e6;
	position:relative;
	margin-bottom:20px;
}

#beratungswegweiser button {
	border: none;
	color: white;
	text-transform: uppercase;
	padding: 5px 10px;
	background: rgb(255, 53, 170);
}

#beratungswegweiser .wegweiser_button_wrap {
	text-align: right;
}

#beratungswegweiser .wegweiser_button_wrap button {
	display: inline-block;
	margin: 0 0 20px 20px;
}

#beratungswegweiser .button {
	border: none;
	padding: 0;
	background: none;
}

#beratungswegweiser .button button {
	font-size: 70%;
	line-height: 1em;
	padding:3px 5px;
}

#beratungswegweiser .jump-button {
	position:absolute;
	top: 20px;
	right:20px;
	line-height:0;
}

#beratungswegweiser .wegweiser-content-wrapper {
	position:relative;
}

#beratungswegweiser .wegweiser-content-wrapper .wegweiser-ankerlink {
    position: absolute;
    top: 10px;
    right: 10px;
	line-height: 0;
}

#beratungswegweiser h3 {
	hyphens: auto;
}

#beratungswegweiser #wegweiser_content .field-wrapper {
	background:white;
	padding:20px;
	margin-top:20px;
}

/* shift news */

#shift .shift-teasers.news .shift-teaser * {
	color:white;
}

#shift .shift-teasers.news.help-yourself .shift-teaser {
	background:#0e78a1;
}

#shift .shift-teasers.news .shift-teaser .teaser-image {
	position:relative;
	background-size:cover;
	background-position:center center;
}

#shift .shift-teasers.news .shift-teaser {
	padding:0;
}

#shift .shift-teasers.news .shift-teaser .teaser-image a {
	display:block;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

#shift .shift-teasers.news .shift-teaser .teaser-image:after {
	display:block;
	content:" ";
	padding-bottom:66.67%;
}

#shift .shift-teasers.news .shift-teaser h3 {
	padding:20px 10px 10px;
	font-size:22px;
	line-height:22px;
	margin-bottom:0;
	padding-bottom:10px;
}

#shift .shift-teasers.news .shift-teaser .teasertext {
	padding:10px;
}

#shift .shift-teasers.news .shift-teaser p {
	margin-bottom:0;
	padding-bottom:10px;
}

#shift .shift-teasers.news .shift-teaser .readmore {
	font-weight:bold;
}

#shift .shift-teasers.news .shift-teaser.all-link {
	font-weight:bold;
	font-size:120%;
	font-family:UniversCondensed,sans-serif;
}

#shift .shift-teasers.news .shift-teaser.all-link a {
	display:block;
	padding:10px 20px;
}

/* shift single news */

.shift-news-backlink {
	position: absolute;
	top:0;
	right: 2px;
}

.shift-news-backlink a {
	display:inline-block;
	padding:3px 8px;
	color:white;
	background:#015da9;
}

.shift-news-backlink a:hover,
.shift-news-backlink a:active,
.shift-news-backlink a:focus {
	color:black;
	text-decoration:none;
}
	
/* accordion */

.accordion {
	background-color: white !important;
	border-top: 1px solid #000;
}

.accordion: last-child {
	border-bottom:  1px solid #000;	
}

h2.accordion-title {
	padding: 10px 10px 10px 40px;
	background: white;
	cursor: pointer;
	margin: 10px 0 0 !important;
	font-size: 110%;
	position: relative;
}

h2.accordion-title: first-child {
	margin-top: 0;
}

@media screen and (max-width: 640px) {
	h2.accordion-title {
		margin: 10px 10px 0;
	}
}

h2.accordion-title span {
	display: block;
	padding: 5px 0 5px 40px
}

h2.accordion-title span span {
	display: inline-block;
	padding: 0;
}

h2.accordion-title span:before {
	position: absolute;
	left: 0;
	font-weight: normal;
	display: inline-block;
	content: "\f345";
	font-family:  "Dashicons";
	color: #015da9;
	padding: 0 10px;
	font-size: 160%;
}

h2.accordion-title span span:before {
	display: none;
}

h2.accordion-title.trigger_active span:before {
	content: "\f347";
}

@media screen and (max-width: 767px) {
	h2.accordion-title {
		font-size: 100%;
	}
	h2.accordion-title span {
		padding-left: 25px;
	}
	h2.accordion-title span:before {
		font-size: 115%;
	}
}

.accordion-content {
	background: #f6f6f6;
	margin: 0 0 10px;
	padding-top: 10px;
}

.accordion-content p {
	margin-bottom: 0 !important;
}

@media screen and (max-width: 767px) {
	.accordion-content {
		margin: 0 10px 10px;
		overflow: hidden;
	}
}

.accordion-content h1,
.accordion-content h2,
.accordion-content h3,
.accordion-content h4,
.accordion-content p,
.accordion-content ul,
.accordion-content ol,
.accordion-content table {
	padding: 0 20px 12px;
}

@media screen and (max-width: 767px) {
	.accordion-content {
		font-size: 90%;
	}
	.accordion-content h1,
	.accordion-content h2,
	.accordion-content h3,
	.accordion-content h4,
	.accordion-content p,
	.accordion-content ul,
	.accordion-content ol,
	.accordion-content table {
		padding: 0 10px 12px;
	}
}