/*
Theme Name: twin T3 Helo
Version: 1.4.21
Author: twin Webagentur GmbH
Author URI: https://www.webagentur.com/
Description: Template T3 der twin Homepages.
*/
.alignnone {
	margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}
.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}
.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}
a img.alignnone {
	margin: 5px 20px 20px 0;
}
a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}
a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}
.wp-caption {
	background: #fff;
	border: 1px solid #f0f0f0;
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Google Maps Route Feature */
.company-data , .map-link-wrapper {
	display: inline-block;
}
.company-data {
	margin-right: 20px;
}
.place-card {
	margin-bottom: 15px;
}
.map-link-wrapper  {
	margin-top: 10px;
}
.map-link-wrapper a {
	border-radius: 2px;
	color: #fff;
	padding: 5px 25px;
	text-decoration: none;
}

.kfz-check-outer {
	margin-top: 50px;
	position: relative;
	width: 600px;
}
.kfz-check-form {
	background: #fff url(https://cdn.aio-wp.de/teaser/t4/kfz-kennzeichenschild.jpg) 50% 50% no-repeat;
	box-sizing: border-box;
	display: inline-block;
	padding: 15px 0;
	width: 340px;
}
.kfz-check-input {
	border: 1px solid #333;
	box-sizing: border-box;
	font-family: inherit;
	font-size: 20px;
	height: 56px;
	margin-left: 52px;
	padding: 8px;
	text-align: center;
	width: 96px;
}
.kfz-check-cellar {
	display: inline-block;
	vertical-align: top;
}
.kfz-check-button-aligner {
	display: inline-block;
	margin-left: 2px;
	vertical-align: top;
}
.kfz-check-button {
	background: #2e5c7c;
	color: #fff;
	display: table-cell;
	height: 86px;
	line-height: 1.2;
	text-align: center;
	vertical-align: middle;
	width: 140px;
}
.kfz-check-image {
	margin-left: 20px;
}
.kfz-check-text {
	color: #fff;
	font-family: 'Roboto Slab', serif;
	font-size: 22px;
	margin-top: 10px;
}
body.twin.t4 .teaser-text.has-kfz-check {
	max-width: none;
	padding: 0;
	width: auto;
}
@media screen and (max-width: 1260px) {
	.kfz-check-outer {
		margin-top: 30px;
	}
	.kfz-check-text {
		margin-top: 20px;
	}
}
@media screen and (max-width: 650px) {
	.t4-teaser .teaser-text.resp-teaser-content {
		padding: 1%;
		position: relative;
	}
	div.R.resp-teaser > div.resp-teaser-content,
	.teaser-text.resp-teaser-content.right {
		right: 0;
	}

	.kfz-check-outer {
		margin-top: 0;
		text-align: center;
		width: auto;
	}
	.kfz-check-form {
		background-size: contain;
		margin: 0 auto;
		padding: 15px 0;
		text-align: left;
		width: 280px;
	}
	.kfz-check-cellar {
		display: block;
		margin-top: 20px;
	}
	.kfz-check-button-aligner {
		margin-left: 0;
	}
	.kfz-check-input {
		height: 45px;
		margin-left: 36px;
		width: 86px;
	}
	.kfz-check-text {
		color: #000;
	}
}

/* zwischen loesunge */
#container, #header-container, nav ul {
	overflow: hidden;
}
div#container{
	overflow: hidden;
}
.top-menu-item ul.linkstack .menu-item .sub-menu a {
	padding-top: 0px;
	padding-bottom: 0px;
}
nav.nav3 .top-menu-item .menu-item .sub-menu a {
	font-size: 18px; 
}

@media screen and (max-width: 767px){
	.search-sidebar #searchform {
    	display: block;
	}	
}

a.footer-branding-image {
	padding: 0 !important;
	position: relative;
	top: 5px;
}
a.footer-branding-image:hover {
	background: none !important;
}
.footer-branding-image img {
	max-height: 20px;
	vertical-align: middle;
}

.news-excerpt-list::after { clear: left; content: ''; display: block; }
@media screen and (min-width: 1281px) {
	.news-excerpt-list > .news-fix:nth-child(3n+6) { clear: left; }
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
	.news-excerpt-list > .news-fix:nth-child(4n+4) { clear: left; }
}

.bcard-t3-outer-shortcode-wrap {
	background-color: #fff;
	margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
	.bcard-t3-outer-shortcode-wrap {
		float: left;
		margin-right: 20px;
		width: 300px;
	}
}
@media screen and (max-width: 767px) {
	.bcard-t3-outer-shortcode-wrap .bcard-cover-imgwrap {
		width: auto;
	}
	.bcard-t3-outer-shortcode-wrap .bcard-body {
		max-height: none;
		padding: 12px;
		width: auto;
	}
	.bcard-t3-outer-shortcode-wrap .bcard-headline {
		font-size: 18px;
	}
	.bcard-t3-outer-shortcode-wrap .bcard-foot .bcard-foot-headline {
		font-size: 18px;
	}
	.bcard-t3-outer-shortcode-wrap .bcard-foot .bcard-foot-infoline {
		font-size: 14px;
	}
	.bcard-t3-outer-shortcode-wrap .bcard .socialmedia-list .socialmedia-listitem {
		margin-right: 15px;
	}
}

.twin-socialmedia-linklist .twin-socialmedia-linklist-link {
	color: inherit;
	display: inline-block;
	font-size: 18px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	vertical-align: top;
	width: 30px;
}
.twin-socialmedia-linklist .twin-socialmedia-linklist-link:hover {
	color: inherit;
}
.twin-socialmedia-linklist-item {
	display: inline-block;
	margin-left: 10px;
}
.twin-socialmedia-linklist.round .twin-socialmedia-linklist-item {
	border-radius: 50%;
}
@media screen and (max-width: 480px) {
	.twin-socialmedia-linklist-item {
		margin: 5px;
	}
}
.has-float.mitarbeiter-list::before,
.has-float.mitarbeiter-list::after { clear: both; content: ''; display: block; }

.cp_subbtn {
	display: none;
}

/* Header ⟶ Menu ⟶ Menu item `Vergleiche` */
ul#mainnav > li.top-menu-item:hover > a[href*="vergleiche"] + ul {
	display: flex;
	flex-flow: row wrap;
}
@media (min-width: 1024px) {
	ul#mainnav > li.top-menu-item:hover > a[href*="vergleiche"] + ul > li {
		width: 280px;
	}
}
@media (min-width: 1300px) {
	ul#mainnav > li.top-menu-item:hover > a[href*="vergleiche"] + ul > li {
		width: auto;
	}
}
