/*
Theme Name: Basis Theme Anwalt
Theme URI: 
Author: Capahill GmbH
Author URI: http://www.capahill.de/
Description: Basis Theme
Version: 1.0
Text Domain: basistheme
*/
@charset 'utf-8';
@import url(css/font-awesome.min.css);
@import url(css/normalize.css);
@import url(css/foundation.css);

/* open-sans-300 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans-v29-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-regular - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v29-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-500 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v29-latin-500.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-500.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-500.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-600 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v29-latin-600.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v29-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-800 - latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/open-sans-v29-latin-800.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/open-sans-v29-latin-800.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v29-latin-800.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/open-sans-v29-latin-800.woff') format('woff'), /* Modern Browsers */
       url('fonts/open-sans-v29-latin-800.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/open-sans-v29-latin-800.svg#OpenSans') format('svg'); /* Legacy iOS */
}
   
*,h1,h2,h3{
	padding:0;
	margin: 0;
	outline: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box; 
	box-sizing: border-box;
}

html {
    -ms-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
	box-sizing: border-box;
	height: 100%;
	overflow-x: hidden;
	margin: 0 !important;
}

body {
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;	
	color: #333;
	font-size: 16px;
	min-height: 100%; 
	line-height: 1.2em;
}

iframe {
	max-width: 100%!important;
	margin: 0 0 20px;
}

p > iframe {
	margin-bottom:0;
}

.clearfix:after {
    content: "";
    clear: both;
    display: block;
}

ul, ul li{
	list-style: none;
}

img {
    display: block;
    border: 0;
}

a {
	color: #9f9143;
}

a:hover {
	text-decoration: none;
}

a[href*="tel:"] {
        text-decoration: none;
        color: #333;
}

strong {
	font-weight: 600;
}

p {
	padding: 0 0 20px 0;
	line-height: 1.5em;
}

hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #caccce -moz-use-text-color -moz-use-text-color;
    border-image: none;
    border-right: 0 none;
    border-style: solid;
    border-width: 1px 0 0;
    margin: 0 0 20px 0;	
	border-color:  #caccce;
	}

.line {		
	text-align: right;	
	height: 35px;
	/*line-height: 35px;*/
	background-color: #373737;
    color: #fafcfe;
}

.line .socialmedia li {
	display: inline-block;
	margin-left: 10px;
	/*margin-top: 2px;*/
}

.line .socialmedia li  a {
	display: inline-block;
    color: #373737;
	background: #fff;
	width: 29px;
	height: 29px;
	line-height: 29px;
	border-radius: 50%;
	text-align: center;	
	font-size: 20px;
	margin-top: 3px;
}

.line .socialmedia li  a:hover {
	opacity: 0.8;
}
	
/* HEADLINES */
h1, h2, h3, h4, h5 {
	line-height: 1.2em;
}
h1, .likeh1 {
	font-size: 36px;
	font-weight: 300;	
	margin-bottom: 30px;
	color: #645e42;
	position: relative;
	line-height: 1.2em;
	/*overflow: hidden;*/
}

.share + h1 {
	margin-bottom: 12px;
}

.likeh1 {
	padding-bottom: 0;
	margin-bottom: 20px;
}

h1 span, .likeh1 span {
	display: inline-block;
	position: relative;
	padding-bottom: 5px;
	border-bottom: 1px solid #645e42;
}

h1 span span {
	display:block;
	font-size: 24px;
	color: #424242;
	line-height: 1em;
	font-weight: 400;
}

h1 span:after {
	/*content: '';
	height: 2px;
	background: #373737;
	position: absolute;
	bottom: 0;
	left: 0;
	width: calc(100% + 50px);*/
}

h2 {
	font-size: 23px;
	font-weight: 700;	
	padding: 0 0 25px 0;
	color: #373737;
}

h3 {
	font-size: 19px;
	font-weight: 400;	
	padding: 0 0 20px 0;
	color: #373737;
	line-height: 1.15em;
}

h3 {
	position: relative;
} 

.page .content-area h3:before,
.single .content-area h3:before {
	content: "";
    border-color: transparent #9f9143;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: inline-block;
    margin-right: 6px;
}

h4 {
	font-size: 20px;
	font-weight: 300;	
	padding: 0 0 15px 0;
	color: #373737;
	line-height: 1.15em;
}

h5 {
	font-size: 18px;
	font-weight: 400;	
	padding: 0 0 15px 0;
	color: #373737;
	line-height: 1.15em;	
}

h5 a {
	color: #000;
	text-decoration: none;
}

h5 a:hover {
	color: #373737;
}

h6 {
	font-size: 16px;
	font-weight: 400;	
	padding: 0 0 15px 0;
	color: #333;	
}

.bg-gray {
	background-color:#eee;	
}

.bg-blue {
	background-color:#04367D;
}


/* HEADER */
header.top-header {
	margin: 0;
}

header.top-header .bg-gray {
	background: #666;
	color: #fff;
}

header .telephone-box {
	padding: 0 0 0 0;		
	font-weight: 400;
	display: table;
	font-size: 16px;
	margin:15px auto;
}

header .telephone-box span {
	display:table-cell;	
}

header .telephone-box span a {
	line-height:1em;	
	color: #ab9b39;
	text-decoration:none;
	font-weight: 600;
}

header .telephone-box .number {	
	font-weight: 700;
	padding: 0 5px;	
}

header .line a {
	color: rgb(255,255,255);
}

header .main-nav {
	/*box-shadow: 0 4px 10px rgba(100, 100, 100, 0.1);*/
	background: #fff;
	position:fixed;
	width: 100%;
	left: 0;
	top: 49px;
	z-index: 999;
	transition: top 0.2s ease;
	height: 70px;
	background: #555557;
}

header .main-nav:after {
	/*content: '';
	background: url(images/logo-border.png) repeat-x;
	width: 100vw;
	position: absolute;
	top: 100%;
	height: 85px;
	left: 0;*/
}

.main-nav > .row,
.main-nav > .row > .columns {
	height: 100%;
}

@media only screen and (max-width: 40em) {
    	header .main-nav {
		top: 33px;
    	}
}

.scrolled header .main-nav {
	top: 0;
}

header .logo {
	display:inline-block;
	padding: 5px 0;
	width: auto;
	position: absolute;
	top: 75%;
	transform: translateY(-50%);
}

header .logo img {
	height: 80px;
	display: inline-block;
}

/* main-keyvisual */

.img-copyright {
	position: absolute;
    bottom: 10px;
    right: 10px;
}

.featured-image {
	height: 350px;
	background-size: cover;
	background-position: center center;		
	position: relative;
}

.featured-image img {
	height: 350px;
	width: 100%;
	object-fit: cover;
}

.fi-bg {
	background: #f2f2f2;	
}

.kv-box {
	height: 350px;
	position: relative;
	text-align: center;
}

.kv-box-inner {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #666;
	transform: translate(-50%,-50%);
	width: 100%;
	padding: 0 20px 0 0;
}

.kv-box a {
	color: #9f9143;
	font-weight: 600;
}

.kv-box h2 {
	color: #30383c;
	text-transform: uppercase;
}

@media only screen and (max-width: 1024px) {
	.featured-image,
	.kv-box,
	.featured-image img	{
		height: 400px;
	}
}
@media only screen and (max-width: 767px) {
	.featured-image,
	.kv-box,
	.featured-image img	{
		height: 300px;
	}
}

@media only screen and (max-width: 640px) {
	.featured-image,
	.featured-image img	{
		/*height: 220px;*/
		height: auto;
	}
		
	.kv-box {
		/*height: 160px;*/
		height: 50px;
	}
	
	.kv-box-inner {
		padding-right: 0;
	}
	
	.kv-box h2 {
		font-size: 16px;
		padding-bottom: 0;
		display: inline-block;
		margin: 0 10px 0 0;
	}
	
	.kv-box p {
		padding-bottom: 0;
		display: inline-block;
	}
	
	.kv-box p:last-of-type {
		padding-bottom: 0;
		display: none;
	}
	
	.fi-bg  {
		margin-left: -15px;
		width: calc(100% + 30px);
	}
}

/* CONTENT */
.content {
	margin: 70px 0 20px 0;
	transition: margin 0.3s ease;
}

.scrolled .content {
	margin-top: 0;
}


.content .breadcrumb {
	margin: 25px 0 15px 0;
	font-size: 14px;	
	color:#666;
	font-weight: 600;
}

.content nav {
	margin: 0 0 20px 0;
}

.content nav a {
	text-decoration: none;
}

.content .keyvisual {
	max-height:600px;
	/*background: url(images/keyvisual.jpg) no-repeat top center;
	background-size: cover;*/
	margin-bottom: 20px;
}

.content .main {
	min-height: 10px;
}

.content .main.columns + .medium-4.columns:not(.no-border) {
    border-left: 1px solid #cacaca;
	/*position: relative;
	top: 13px;*/
}

@media only screen and (max-width: 640px) {
	.content .main.columns + .medium-4.columns {
	border-left: none;
	}
}

.content .main ul, 
.content .main ol {
	margin-bottom: 20px;
	line-height: 1.75em;
}

.content .main ul li,
ul.list li {
	margin-left: 25px;
	/*padding-left: 5px;*/
	list-style-type: disc;
}

ul.list {
	margin-bottom: 20px;
}

.content .main ul > ul {
	margin-left: 25px;
	/*padding-left: 5px;*/
	margin-bottom: 10px!important;	
}

.content .main ol {
	/*counter-reset: item;*/
	list-style-type: decimal;
}

.content .main ol > li {
	margin-left: 25px;
	/*padding-left: 5px;*/
	/*text-indent: -20px;*/
	/*font-weight: bold;*/
}

/* font-weight: bold; */
/*.content .main ol > li:before { 
	content: counter(item) ". ";
	counter-increment: item;
	font-weight: bold;
}

.content .main ol > li > ol > li:before {
	display: none;
}*/

.content .main ol li a, 
.content .main ul li a {
	font-weight: normal;
}

.content .main ol > li > ol > li {
	display: list-item;
}

.content .main ol li ul,
.content .main ol li ol {
	list-style-type: lower-alpha;
	margin-top: 20px;
}

.content .main ul li ul {
	margin-top: 20px;
}

/* .content .main ol li ul li, */
.content .main ol li ol li {
	list-style-type: lower-alpha;
	text-indent: 0;
}


.page-id-685 ul.children {
	margin-bottom: 0
}

.content main h2 {
	color: #000;
	font-weight: normal;
}

.content .main .teaser {
	font-size: 14px;
	margin-top: 10px;
	/*margin-bottom: 40px;*/
}

.content .main .teaser h2 {
	font-size: 18px;
	color: #fff;
	padding: 20px 20px;
	background: #9f9143;
	margin-bottom: 20px;
	text-align: center;
}

.content .main .teaser p {
	padding: 0 20px 20px;
}

.content .main .teaser p + a {
	color: #9f9143;
	display: inline-block;
	margin: 0 20px;
}

.content .main .teaser article {
	margin: 0 0 20px 0;
	padding: 0 0 40px 0;
	background: #eeeeee;
	color: #1f1f1f;	
	position: relative;
}

.content .main .teaser article p {
	padding: 0 20px;
}

.content .main .teaser article a {
	text-decoration: none;
}

.content .main .teaser article .teaser-more {
	margin: 5px 0;
	padding: 5px 20px;
	border-top: 1px solid #ccc; 
	border-bottom: 1px solid #ccc;
	font-size: 0.9em;
	font-weight: 500;
}

.content .main .teaser article .teaser-more span {
	display: block;
	color: #000;
}

.content .main .teaser article .teaser-more a {
	color: #000;
	text-decoration: underline;
}

.content .main .teaser article .teaser-more a:hover {
	text-decoration: none;
}

.content .main .teaser .go-to {
	display: inline-block;
	background: #373737;
	width: 40px;
	height: 40px;
	line-height: 40px;
	color: #fff;
	text-align: center;
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0;
}

.content .main .teaser .go-to:hover {
	opacity: 0.9;
}

.text-right {
	text-align: right;
}
.content .main .teaser .go-to span {
	font-size: 20px;
	line-height: inherit;
	padding: 0;
}

.content .main .teaser article img {
	float: left;
	margin: 0 15px 0 0;
	border-radius: 5px;
}

.content .main .teaser .subteaser {
	display: table;
	width: 100%;
	border-collapse: collapse;
}

.content .main .teaser .subteaser .columns {
	display: table-cell;
}

.content .startpage .site-main > .page {
	padding-left: 15px;
	position: relative;
}

.content .startpage .site-main > .page:before {
	content: '';
	height: 100%;
	width: 4px;
	position: absolute;
	left: 0;
	height: calc(100% - 20px);
	background: #9f9143;
}

.content .greybox {
    background: #f4f4f4;
    padding: 10px;
	margin: 20px 0;
    width: 100%;
}

.content .greybox img{
	float: left;
	max-width: 300px;
	width: auto!important;
	margin: 10px 15px 10px 0;
}

.content .greybox p {
	padding-bottom: 5px;
	margin: 8px 0 10px;
}

.content .greybox p;last-child {
	margin-bottom: 0;
}

.content .greybox:after {
	content: '';
	display: table;
	clear: both;
}


.content aside {
	font-size: 13px;
}

.content aside .newshead h1 {
	text-align: left;
    font-size: 26px;
    margin: 0 0 22px 0;
    padding: 25px 0;
    background: #9f9143;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	text-align: center;
	margin: 0;
}

.content aside .news  {   
    padding: 0;	
	background: #f0f0f0;
}

.content aside .news  hr {
	display: none;
}

.content aside .news  .featured-post {
	padding: 0 0 20px 0;
	margin: 20px 20px 0 20px;
}

.content aside .news h4 a {
	 color: #a89f3b;
	 text-decoration: underline;
}

.content aside .news h4 a:hover {	
	 text-decoration: nine;
}

aside h2,
aside h3 {    
    color: #9f9143;
	font-size: 18px;
	line-height: 19px;
	font-weight: 600;
}

/* NAVIGATION
#################### */
.main-nav-wrapper{
	display: inline;
}

.main-nav-wrapper nav  {
    display: block;
	float: right;	
	height: 70px;
	padding: 14px 0;
}

nav a {
    text-decoration: none;
    color: #000;
	font-size:14px;
}

.navtoggle {
    display: none;
}

.fa.fa-navicon, 
.fa.fa-close {
    background: #666;
    color: #f0f0f0;
    font-size: 40px;
    width:60px;
    height: 60px;
    cursor: pointer; 
    text-align: center;
    line-height: 60px;
    position: absolute;
    right: 0;
    top: 5px;
    z-index: 10;
}

nav ul {
    list-style: none;
}

nav ul li {
    position: relative;
    margin: 0
}

ul.menu > li {
    display: inline-block;
}

ul.menu {
	font-size: 0;
}

ul.menu li {
	font-size: 14px;
}

nav ul li.page_item_has_children > a, 
nav ul li.menu-item-has-children > a{
    display: inline-block;
    padding-right: 30px!important;
}

nav ul li.menu-item-has-children span.icon {
    position: absolute;
    right: 5px;
    top: -4px;
    font-size: 22px;
    font-weight: bold;
    /*color: #fff;*/
    display: block;
    text-align: center;
    width: 20px;
    height: 50px;
    line-height: 50px;
    z-index: 99;
    transform: rotate(90deg);
    /*transition: all 0.5s ease;*/
	cursor: pointer;
}
nav ul.menu > li {
	margin-left: 1px;
}

nav ul.menu > li.menu-item-has-children > span.icon {
	/*top: 8px;*/
}

body:not(.scrolled) nav ul.menu > li.menu-item-has-children:hover > span.icon {
	color: #9f9143;
}

nav ul li.menu-item-has-children .sub-menu span.icon {    
    line-height: 50px; 
}

nav ul > li:hover > span.icon,
nav ul > li.active > span.icon,
/*nav ul.menu > li.current-menu-item > span.icon,*/
nav ul.menu > li.current-menu-parent > span.icon {
    /*color: #fff;*/
}

@media only screen and (max-width: 1023px) {
	nav ul > li:hover > span.icon,
	nav ul > li.active > span.icon,
	/*nav ul.menu > li.current-menu-item > span.icon,*/
	nav ul.menu > li.current-menu-parent > span.icon {
		color: #424242;
	}
	
	nav ul > li:hover > span.icon {
		color: #9f9143;
	}
}


nav ul.menu > li:hover,
nav ul.menu > li.active,
nav ul.menu > li:focus,
nav ul.menu > li.current-menu-item,
nav ul.menu > li.current-menu-parent  {
    color: #9f9143;
}

nav ul.menu > li:hover > a,
nav ul.menu > li.active > a,
nav ul.menu > li:focus > a,
nav ul.menu > li.current-menu-item > a,
nav ul.menu > li.current-menu-parent > a {
    color: #fff;
}

nav ul > li:focus > span.icon {
    color: blue;
}

 nav ul.menu li a{
    display: block;
    line-height: 44px;
    padding: 0 20px;
    color: #fff;	
	font-weight: 600;
}

.scrolled  nav ul.menu li a,
nav ul.menu li ul.sub-menu li a {
	color: #424242;
}

nav ul.menu li a:hover,
nav ul.menu li a:active,
nav ul.menu li:hover > a,
nav ul.menu li ul.sub-menu li a:hover {
	color: #9f9143!important;
}
@media only screen and (max-width: 1023px) {
	/*body:not(.scrolled) .current-menu-item > a { border-bottom: 3px solid #373737; }*/
	nav ul.menu li a {
		color: #424242!important;
	}
	
	
}

body:not(.scrolled) nav ul.menu > li > a {
    /*color: #1f1f1f;	
	background: #eaebeb;
	height: 70px;	
	line-height: 70px;*/
}

body:not(.scrolled)  nav ul.menu > li:hover > a {
	/*background: #373737;
	color: #fff;*/
}

 nav ul li.page_item_has_children > a:hover, 
 nav ul li.menu-item-has-children > a:hover  
 nav ul li.menu-item-has-children > a.active {
    color: #fff;
}

 nav ul li ul {
    display: none;
    position: absolute;
    background: rgb(255,255,255);
    left: 0;
    top: 100%;
    width: 100%;
    min-width: 200px;
    z-index: 1;
    background: #fefefe;
    border: 1px solid #dbd9da;
}

 nav ul li ul li ul {
    display: none;
    position: absolute;
    left: 100%;
    top: -1px;
    width: 100%;
	min-width: 245px;
}

 nav ul li ul li ul li {
    position: relative;
    z-index: 5;
}

 nav ul li:hover ul li:hover ul {
    display: block;
}

 nav ul li ul li{
    position: relative;
    z-index: 10;
}

 nav ul li:hover ul {
    display: block;
}

 nav ul li:hover ul li ul {
    display: none;
}
	
.scroll-number {
	display: none;
	text-align: center;
	font-size: 14px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	color: #f0f0f0;
}

.scroll-number span {
	display: block;
	font-weight: 600;
	font-size: 15px;
}

.scroll-number span a {
    color: #f0f0f0; 
}
@media only screen and (min-width: 1024px) {
	.scrolled .scroll-number { 
		display: inline-block;
	}
}

/* Nav Desktop on Scroll */
@media only screen and (min-width: 1024px) {  
	.scrolled .navtoggle {
        display: inline-block;
	}
	
	.scrolled  .main-nav nav ul {
		display: none;
        /*margin-top: 70px;*/
		margin-top: 61px;
        background: #fff;
        z-index:10;
        position: relative;
		border-top: 1px solid #ccc;
	}
	
    .scrolled  .main-nav ul.menu > li {
        display: block;
        border-bottom: 1px solid #ccc;
    }
    
    .scrolled  .main-nav nav ul li  ul {
        margin-top: 0;
    }
    
    .scrolled  .main-nav nav{
        position: absolute;
        top: 0;
		right: 0;
    }
            
    .scrolled  .main-nav nav > ul > li:first-child {
        border-width: 1px 1px 0 1px;
    }
    
    .scrolled  .main-nav nav ul li ul {
        position: static;
        position: initial;
        background: #f3f3f3;
        border: 0;
		
		/*display: none;
		position: absolute;
		left: auto;
		right: 100%;*/
    }
    
    .scrolled  .main-nav nav ul li.active > ul {
        display: block;
    }
    
    .scrolled  .main-nav nav ul li ul li ul {
        position: static;
        position: initial;
        background: rgb(230,230,230);
    }
    
    .scrolled  .main-nav nav ul li ul li a{
        padding-left: 20px;
    }
    
    .scrolled  .main-nav nav ul li ul li ul li a{
        padding-left: 30px;
    }

	.scrolled  .main-nav nav ul.menu li a{		
		width: 300px;
	}
	
	.scrolled  nav ul li.menu-item-has-children span.icon {
		position: absolute;
		right: 5px;
		top: 0;
		font-size: 30px;		
		width: 60px;
		height: 50px;
		line-height: 40px;
		z-index: 99;	
		transform: rotate(0);		
	}
	
	.scrolled  nav ul li.menu-item-has-children .sub-menu span.icon {
		line-height: 42px;
	}
}
/* Nav Mobile */
@media only screen and (max-width: 1023px) {    
     .navtoggle {
        display: inline-block;
     }
                
     .main-nav nav ul {
        display: none;
        margin-top: 61px;
        background: #fff;
        z-index:10;
        position: relative;
		border-top: 1px solid #ccc;
    }
    
    .main-nav ul.menu > li {
        display: block;
        border-bottom: 1px solid #ccc;
    }
    
    .main-nav nav ul li  ul {
        margin-top: 0;
    }
    
    .main-nav nav{
        position: absolute;
        top: 0;
		right: 0;
    }
            
    .main-nav nav > ul > li:first-child {
        border-width: 1px 1px 0 1px;
    }
    
    .main-nav nav ul li ul {
        position: static;
        position: initial;
        background: #f3f3f3;
        border: 0;
    }
    
     .main-nav nav ul li.active ul {
        display: block;
    }
    
     .main-nav nav ul li ul li ul {
        position: static;
        position: initial;
        background: rgb(230,230,230);
    }
    
     .main-nav nav ul li ul li a{
        padding-left: 20px;
    }
    
     .main-nav nav ul li ul li ul li a{
        padding-left: 30px;
    }

	.main-nav nav ul.menu li a{		
		width: 300px;
	}
	
	nav ul li.menu-item-has-children span.icon {
		position: absolute;
		right: 5px;
		top: 0;
		font-size: 30px;		
		width: 60px;
		height: 50px;
		line-height: 40px;
		z-index: 99;	
		transform: rotate(0);		
	}
	
	nav ul li.menu-item-has-children .sub-menu span.icon {
		line-height: 42px;
	}
}

/* Schnellkontakt Startseite */
.fastcontact  {
	text-align: center;
}

.fastcontact p {
	font-size: 13px;
}

.fastcontact h2 {   
    font-size: 28px;
    line-height: 52px;
	margin: 15px 0 10px;
	padding: 0;
	font-weight: normal;
}

.fastcontact p {
	margin: 0 0 10px 0;
	padding: 0;
}

.fastcontact .btn-con {
	background: #04367d;
	border-radius: 5px;
	color: #fff;
	margin-bottom: 0px;
}

.fastcontact .btn-con > * {
	display: block;
    line-height: 22px;
    font-weight: normal;
    outline: none;
    padding: 9px 20px;
	color: #fff;
}

.fastcontact a {
	color: #fff;
    	white-space: nowrap;
}

/* FOOTER */
.map {
	position: relative;
	overflow: hidden;
	height: 480px;
}

.map iframe ,
.two-columned ~ p iframe, 
aside iframe {
	line-height: 0;
	margin: 0;
}

	
.locations {
	background: #f0f0f0;
	padding: 40px 0 0;
    border-top: 8px solid #9f9143;	
}

.locations img{
	display: inline-block;
	vertical-align: middle;
	margin-bottom: 20px;
}

.locations h3 {
	color: #1f1f1f;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 1.3em;
	word-break:break-word;
}

.locations .location-box {
	text-align: left;
	margin-bottom: 30px;
	color: #1f1f1f;
}

.locations .location-box a[href^="tel"] {
	text-decoration: none;
}

.locations .location-box span {
	display:inline-block;
	margin-bottom: 5px;
}

.footerline {
	background: #242b2b;
    color: #a6a6a6;
    line-height: 18px;
	text-align: left;
	padding: 20px 0;	
	display: none;
}

.copyright {
	font-size: 12px;
	display: block;
}

.meta {
	font-size: 14px;
	text-align: center;
}

.meta a {
    color: #9f9143;
	text-decoration: underline!important;
}

.meta ul li {
	display: inline-block;
}

.meta ul li:after {
	content: '/';
	color: #9f9143;
	padding: 0 3px;
}

.meta ul li:last-child:after {
	display: none;
}

.meta ul li:first-child {
	padding-left: 0;
}

.totop {
	font-size: 30px;
	text-decoration: none;
	color: #666;
}

.totop:after {
	content: '';
	background: #fff;
	width: 16px;
	height: 16px;
	display: inline-block;
	border-radius: 50%;
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}

.totop:hover {
	text-decoration: none;
}

footer .signet {	
	display: block;
	margin: 19px auto 30px auto;
}

@media only screen and (max-width: 640px) {
	.copyright,
	.meta {
		text-align: center;
	}
	
	.copyright {
		margin-top: 5px;
	}
	
}

footer .finalcredits {		
	text-align: center;	
	background: #424242;
}

footer .finalcredits p, footer .finalcredits a {	
	color: #f0f0f0;
	font-size: 	11px;
	padding:15px 0;
}

footer .finalcredits a,
footer .meta a {
	text-decoration:none;
}

footer .finalcredits a:hover,
footer .meta a:hover {
	text-decoration:underline;
}

/* Unterseite Kategorie */
.rechtsgebiet {
	margin: 0 1% 1% 0;
}

.rechtsgebiet-tile {
	display: block; 
	width: 100%; 
	position:relative;
}

.rechtsgebiet-tile h2 {
	position: absolute;  
	bottom: 0;   
	display: block;    
	width: 100%;    
	padding: 20px;
    opacity: 0.70;
    background: #4e5359;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
}

.rechtsgebiet-tile img {
	width: 100%;
	min-height: 230px;
	object-fit: cover;
}

@media only screen and (max-width: 1024px) {
	.rechtsgebiet-tile img {
		min-height: 200px;
	}
}

@media only screen and (max-width: 768px) {
	.rechtsgebiet-tile img {
		min-height: 150px;
	}
}

.rechtsgebiet .image {
	background-repeat: no-repeat !important;
	background-size: cover !important;
    border-radius: 5px;
    height: 200px;
}

.rechtsgebiet .image_arbeitnehmer {
	background: url(images/platzhalter_kategorie_arbeitnehmer.jpg);
}

.rechtsgebiet .image_arbeitgeber {
	background: url(images/platzhalter_kategorie_arbeitgeber.jpg);
}

.rechtsgebiet .image_betriebsrat {
	background: url(images/platzhalter_kategorie_betriebsrat.jpg);
}

.rechtsgebiet .image_fuehrungskraefte {
	background: url(images/platzhalter_kategorie_fuehrungskraefte.jpg);
}

.rechtsgebiet .image span {
    background: rgba(255, 255, 255, 0.7);
    line-height: 38px;
    position: absolute;
    text-decoration: none;
    top: 150px;
    width: 100%;
	padding: 0 5px;
	font-size: 20px;
}

/* Vorteilsbox */
.benefits {
	
	padding-bottom: 20px;
}

.benefits ul li {
	display: block;
	background: url(images/benefits_arrow_new.png) no-repeat left top 5px;
	padding: 0 0 0 20px;	
}

.benefits h3 {
	
}

/* Kontaktbox */
.contact {
	
	color: #000;
}

.contact p {
	padding-bottom:0;
}

.main .contact {
	background: none;
	color: #fafcfe;
	border: none;
	padding: 0;
}

.main .contact label {
	font-size: 16px;
}

main .contact label {	
	color: #5A5C5E;
}

.main .contact input,.main .contact textarea {
    border: 1px solid  rgb(222,222,222);
}

.main .contact input[type=submit] {
	max-width: 200px;
}

.main .contact .ajax-loader,
div.wpcf7 img.ajax-loader,
div.wpcf7 .ajax-loader {
	display: none;
}

.contact .info_teaser {
	text-transform: uppercase;
	display: block;
	margin: 0 0 10px 0;
}

.contact h3 {
	/*color:#fafcfe;*/	
}

.contact .info_ssl {
	font-size: 12px;
	display: block;
	margin: 10px 0;
	background: url(images/ssl.png) no-repeat left center;
	padding-left: 20px;
	color: #fafcfe;
	display: none;
}

.contact label {
	display: block;
	line-height: 30px;
	font-size: 13px;
	/*color: #fafcfe;*/
}

.contact input, 
.contact textarea {
	width: 100%;
	display: block;
	border-radius: 5px;
	border: 0;
	line-height: 30px;
	height: 30px;
	color: #000;
	padding: 0 10px;
	border: 1px solid #ccc;
}

.contact textarea {
	height: 120px;
}

.contact input[type=submit] {
	font-weight: 500;
	color: #fff;
	margin-top: 10px;
	line-height: 38px;
	height: 40px;
	background-color: #373737;
	/*border: 2px solid #fff;*/
}

.contact input[type="submit"]:hover {    
    border-color: #ccc;
}

.contact label.captcha {
	display: inline-block;
	width: 75%;
	line-height: 1em;
}

.contact input.captcha {
	display: inline-block;
	width: 23%;
	margin: 10px 0;
}

/* Unterseite Detailseite */
.main img {
	border-radius: 5px;
	margin: 0 0 20px 0;
}

/* Unterseite Magazin */
.categories {
	margin-bottom: 20px;
	line-height: 24px;
}
.categories ul li {
	line-height: 1.2em;
	padding-left: 10px;
	line-height: 1.5em;
}
.categories a {
	color: #23527c;
	text-decoration: none;
}

.categories a:hover{
	color: #000;
}

.main article p{
	font-size: 14px;
}

.main .site-main article {
	font-size: 14px;
}

.categories ul li ul {
	padding-left: 10px;
}

/* Inhaltsverzeichnis */
.main .index {
	padding: 15px;
    border: 1px dashed #b1b1b1;
    margin-bottom: 20px;
}

.main .index > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Fazi */
.main .fazit {
	padding: 15px;
	border: 1px solid #9f9143;
	margin-bottom: 20px;
}

.main .fazi > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* Unterseite Magazin Einzel */
.contactbox {
	color: #000;
}

.contactbox .person img {
	/*float: left;*/
	float: right;
	max-height: 100px;
	width: auto;
	/*border-radius: 5px;*/
	margin: 0 10px 10px 0;
}

.clear:after {
	content: '';
	clear: both;
	display: table;
}

.contactbox span {
	display: block;
	margin: 10px 0 0 0;
	font-size: 13px;
}

.main .entry-header {
	/*background-color: #fff;*/
}

.main .entry-summary strong {
	font-weight: normal;
}

.main article {
	margin-top: 10px;
}

.main article.post {
	background: #fff;
	margin-bottom: 30px;
}

.main article.post:first-child,
.main article.post:first-of-type  {
	/*padding-top: 0;*/
	margin-top: 0;
}

.main article.singlearticles {
	background: #f7f7f7;
	padding: 10px;
}

.main article.singlearticles:first-of-type {
	/*margin-top: 15px;*/
	/*margin-top: 0;*/
}

.main article.post .entry-header h2 {
	font-weight: 400;
}
.main article.post .entry-header h2 a {
	text-decoration: none;
	color: #333;
}

.main article.post .entry-header h2 a:hover {
	color: #373737;
}

.main main > hr:first-child {
	display: none;
}

.main article.post + hr {
	display: none;
}

.main article h1 {
	/*font-size: 24px;*/
}

.main article figure.articleinfos-image {
	margin: 0  auto 20px;
	
	display: none;
}
.main article figure.articleinfos-image img:nth-child(2) {
	display: none;
}

.main article .articleinfos {
    border: 1px solid #d0d0d0;
    /*border-radius: 5px;*/
    padding: 10px;
	margin-bottom: 20px;
}

.main article .articleinfos span {
	padding: 0;
}

.main article .articleinfos span.author {
	padding: 5px 0 20px 0;
}

.main article .articleinfos figure {
	float: left;
	margin: 3px 5px 5px 5px;
}

.main article .articleinfos figure img {
	max-height: 107px;
	margin: 0 20px 5px 0;
}

.main article .articleinfos figure figcaption{
	text-align: center;
	font-size: 11px;
	max-width: 75%;
}

/* hide article first image */
.articlecontent > img:first-child {
	display: none;
}

/* RELATED */
.main article.related_item   {
	border-bottom: 1px solid rgb(232,232,232);
	margin: 5px;
}

.main article.related_item  img {
	float: left;
	height: 50px;
	margin: 0 10px 0 0;
}

.main header {
	margin: 0;
}

.main td {
	padding: 8px 25px 8px 0
}


@media only screen and (max-width: 640px) {
	.main article {
		margin-top: 0px;
	}

	.main article h1 {
		margin-bottom: 25px;
	}
}
/* Unterseite Rechtsgebiete Übersicht */
.einzelrechtsgebiet {
    margin-bottom: 30px;	
}

.einzelrechtsgebiet h2 {
	padding: 0 0 5px 0;
	font-size: 20px;
}
@media only screen and (max-width: 320px) {
	.einzelrechtsgebiet h2 {
		font-size: 16px;
	}
}

.einzelrechtsgebiet h2 a {
	color: #333;
	text-decoration: none;
}
.einzelrechtsgebiet h2 a:hover {
	color: #373737;
}
	

.familienrecht img, .arbeitsrecht img, .einzelrechtsgebiet img {
	float: left;
	margin: 0 20px 30px 0;
}

.einzelrechtsgebiet img.a {
	display: inline-block;
	width: 100px;
	height: 100px;
	background-position: center center;
	background-size: cover;	
}

.familienrecht span, .arbeitsrecht span, .einzelrechtsgebiet span {
	font-size: 13px;
}

/* SOCIAL ICON FONT */
.social {
  margin: 30px 0 0 10px;
  text-align: right;
}

.smGlobalBtn{ /* global button class */
    display: inline-block;
    position: relative;
    cursor: pointer;
    width: 30px;
    height: 30px;
    padding: 0px;
    text-decoration: none;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    line-height: 2em;
    border-radius: 15px;
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
	margin: 0 0 0 5px;
}

.smGlobalBtn:hover {
	background: rgb(232, 232, 232);
	color: rgb(19, 21, 46);
}

/* facebook button class*/
.facebookBtn{
    background: #4060A5;
}

.facebookBtn:before{ 
    font-family: "FontAwesome";
    content: "\f09a"; 
}


/* twitter button class*/
.twitterBtn{
    background: #00ABE3;
}

.twitterBtn:before{
      font-family: "FontAwesome";
      content: "\f099"; 
}

/* google plus button class*/
.googleplusBtn{
    background: #e64522;
}

.googleplusBtn:before{
      font-family: "FontAwesome";
      content: "\f0d5"; 
}

/* widgetarea */
.widget-area aside {
	margin: 0;
	padding: 20px 0 0;
	border-top: 2px solid #eee;
}

.widget-area aside:last-child {
	padding-bottom: 5px;
}

.widget-area aside.tw-recent-posts:last-child {
	padding-top: 10px;
	padding-bottom: 10px;
}

.widget-area aside:first-child {
	padding-top: 0;
	border-top:0;
}

/* language */
.choose_language {
	text-align: right;
}

.choose_language a {
	margin: 0;
	padding: 0;
}

.choose_language li {
	display: inline-block;
}

.choose_language img{
	display: inline-block;
	border-radius: 5px;
    height: 21px;
    margin: 0 0 3px 5px;
}

/* recent posts */
.tw-recent-posts:after {
	content: '';
	display: block;
	clear: both;
}

.tw-recent-posts .featured-post {
	margin: 0 0 20px 0!important;
	padding:0 0 20px 0!important;
	border-bottom: 1px solid #ddd;		
}

.tw-recent-posts .featured-post:last-child {		
	border-bottom: none;	
}

.landing {
	padding: 0 10px;
}

.featured-posts img {
	float: left!important;
	margin: 5px 10px 10px 0!important;		
}

.tw-recent-posts .featured-post h4  {
	/*color: #1a1c1e;*/
    font-weight: 500;
    padding: 0 0 10px 0 !important;
	margin: 0 !important; 
	line-height: 1.5em;
	font-size:14px !important;
}

.tw-recent-posts .featured-post h4  a {
	text-decoration: none;
}

.tw-recent-posts .featured-post .excerpt {
	color: #424242;
	font-size: 14px;
	line-height: 1.5em;
	display: table;
}

@media only screen and (min-width: 640px) {
	.landing {
		padding: 0;
	}
	
	.featured-posts > .featured-post:first-child {
		min-height: 400px;
	}

	.featured-posts .left > .featured-post img {
		min-height: 350px;
	}
	
	.featured-posts > .featured-post {
		float: left;
		width: calc(50% - 20px);
	}

	.tw-recent-posts .featured-post:last-child {
		margin-bottom: 0!important;
		padding-bottom: 0!important;
	}
	
	.featured-posts > *:not(.left) {
		border-left: 1px solid #ddd;
	}
	
	.featured-posts > .left img {
		float: none!important;
		width: 100%;
		height: 100%;
		object-fit: cover;
		margin: 0 0 15px 0!important;
	}
	
	.featured-posts > *:not(.left) img {
		float: left!important;
		margin: 5px 10px 0 0!important;
		width: 130px;
		height: 130px;
		object-fit: cover;
	}	

	.tw-recent-posts > *:not(.left) h4  {		
		margin: -5px 0 0 0 !important; 		
	}
}

@media only screen and (max-width: 640px) {
	.featured-posts img {
		float: left!important;
		margin: 5px 10px 10px 0!important;
		width: 130px;
		height: 130px;	
		object-fit: cover;
	}

	.featured-posts .excerpt span {
		display: none;
	}
}



/* Related Posts */
.main .wp_rp_wrap .related_post_title {
	margin-bottom: 20px!important;
}

.main ul.related_post li {
	float: left;
	width: calc(50% - 10px);
	margin: 0 10px 20px 0!important;
	position: relative!important;
	border: 0!important;
	padding: 0!important;
	list-style: none;
}

.main  ul.related_post li:nth-child(2n) {
	margin: 0 0 20px 10px!important;
}

.main  ul.related_post li a.wp_rp_thumbnail,
.main  ul.related_post li img  {
	width: 100%!important;
	height: auto!important;
	margin: 0!important;
}

.main  ul.related_post li img {
	max-height: 230px;
	object-fit: cover;
	min-height: 180px;
}

.main .wp_rp_title {
	position: absolute!important;
	width: 100%;
	left: 0;
	bottom: 0;
	padding: 7px 10px;
	background: rgba(0,0,0,0.7);
	color: #fff!important;
	font-weight: 700;
	min-height: 60px;
	line-height: 1.4em;
}

@media only screen and (max-width: 640px) {
	.main ul.related_post li {
		width: 100%!important;
		margin: 0 0 20px 0!important;
	}
	.main  ul.related_post li:nth-child(2n) {
		margin: 0 0 20px 0!important;
	}
}

/* Media Queries */
@media only screen and (max-width: 64em) {
	/* HEADER */
	header.top-header .telephone-box {
		padding: 0 0 0 0;
	}	

	.content aside .news h4 a {
		font-size:17px;
	}
	
	/* CONTENT */
	.content {
		/*margin: 125px 0 40px 0;*/
	}
	
	.content .main {
		margin: 0 0 40px 0;
	}	
	
}

@media only screen and (max-width: 40em) {	
	/* HEADER */
	header.top-header {
		margin: 0;			
	}
	
	header .telephone-box {
		padding: 0!important;
		text-align: center;
		display: block!important;
		float: none!important;
		
	}
	
	header .telephone-box {
		padding: 0 0 0 0;		
		font-weight: 300;
		display: table;
		font-size: 16px;
		margin:7px auto;
	}
	
	header .telephone-box span {
		display: inline-block;
	}
	
	header .telephone-box .label::after {
		content: ":";
	}
	
	header .telephone-box .number {

	}
	
	header .telephone-box  .sub {
		display: none;
	}
	
	/* CONTENT */
	.content {
		/*margin: 110px 0 40px 0;*/
	}
	
	.content .main {
		margin: 20px 0 40px 0;
	}
	
	.content .breadcrumb {
		padding-left: 0.8em;
	}
	
	
	/*FOOTER */
	footer nav {
		text-align: left;
	}
	
	footer .social {
		text-align: left;
	}
}
@media only screen and (max-width: 375px) {
	header .telephone-box {
		font-size: 14px;
		white-space: nowrap;
	}
	
	header .main-nav {
		top: 35px;
	}

}

/*-- Related --*/
.wp_rp_wrap .related_post_title {
    background: none !important;
    padding: 3px 0 5px 0px !important;   
    border: none !important; 

	background: rgba(245, 245, 245, 1) !important;
	padding: 3px 0 3px 10px !important;
	border:1px solid rgba(0, 0, 0, .1) !important;
	font-weight: normal !important;
}

.wp_rp_wrap .related_post_title:before {
	display: none !important;
}

ul.related_post li {    
    padding: 0px 0 10px 0 !important;    
	margin: 15px 0 !important;
}


/* TINYMCE */
/* DFW mode */
html.wp-fullscreen,
html.wp-fullscreen body#tinymce {
	width: auto;
	max-width: none;
	min-height: 0;
	overflow: hidden;
	color: #333;
	background: transparent;
}

.aligncenter,
dl.aligncenter,
.html5-captions .wp-caption.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	/* float: left; */
}

.main img.alignleft {
	margin-right: 15px;
}

.main img.size-full {
	width:100%;
}

.aligncenter {
	display: inline-block;
}

.alignright {
	float: right;
}

.main img.alignright {
 margin-left: 15px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px 0;
}

.html5-captions .wp-caption {
	border: none;
	background-color: transparent;
	margin: 0;
	padding: 0;
}

.mceIEcenter {
	text-align: center;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

div.mceTemp {
	-ms-user-select: element;
}

dl.wp-caption,
dl.wp-caption * {
	-webkit-user-drag: none;
}

.wp-caption-dd {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* bewertungen */
#kdeWidgetHeader br {
	display: none;
}

/* tracking */
#telefontracking_header, #telefontracking_footer {
	display: inline-block;
}

@media only screen and (max-width: 40em)
{
     nav ul {        
        margin-top: 50px;    
    }  
	
	header .logo {
		top: 65%;
	}
	
	header .logo img {
		max-width: 270px;
		height: auto;
	}
		
	#fast-contact .phone{
		font-size: 20px;		
		display:block;
		padding: 8px 0 1px 0;
	}

	#fast-contact .contact-form{				
		display:block;
		padding: 2px 0 12px 0;
	}
	
	.content .breadcrumb {
		margin: 20px 0 13px 0;
		font-size: 14px;
	}	
	.content .main {
		margin: 10px 0 20px 0;
	}
	
	.content nav ul {		
		margin-top: 50px;	
	}
		
	.main img.alignleft {
		float:none;
	}

	h1 {
		margin-bottom: 10px;
	}
	    
}
@media only screen and (max-width: 330px) {
	header .logo img {
		max-width: 240px;
	}
}


.video-block {position: relative; padding-bottom: 56.25%; /* ratio 16x9 */ 
    height: 0; overflow: hidden; width: 100%; height: auto; margin-bottom: 20px;} 

.video-block iframe {position: absolute; top: 0; left: 0; width: 100%; height: 100%;} 


/* share / shariff */
.main article .share span {
	display: inline-block;
}

.main article .share .shariff {
	margin-left: -5px;
}

.main article .share .shariff {
	margin-bottom: 20px;
}

.main article .entry-footer .share .shariff {
	margin-bottom: 10px;
}

.main article .share .shariff li {
	margin-top: 0!important;
}

@media only screen and (min-width: 839px) {
	.main article .share .shariff li:last-child {
		margin-right: 0!important;
	}	
}

@media only screen and (min-width: 768px) {
	.shariff .orientation-horizontal.buttonsize-small li {
		width: 99px!important;
	}
}

@media only screen and (min-width: 640px) {
	.main article .share .shariff {
		margin-bottom: 10px;
	}
}

/* Search */
.widget_search {
	height: 39px;
	/*margin-top: 15px!important;*/
}

.widget_search form {
	position: relative;
}

.widget-area .widget_search + aside {
	border-top: 0;
}

.widget-area .search-form label span {
	display: none;
}

.widget-area .search-form label {
	display: block;
	position: relative;
}

.widget-area .search-form input[type="search"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 2.4375rem;
    padding: 0 10px;
	padding-right: 25px;
    border: 1px solid #dbd9da;
    margin: 0 0 20px;
    font-family: inherit;
    font-size: 12px;
    color: #0a0a0a;
    background-color: #fefefe;
    /*box-shadow: inset 0 1px 2px rgba(10,10,10,0.1);*/
    border-radius: 0;
    /*transition: box-shadow 0.5s,border-color 0.25s ease-in-out;*/
    -webkit-appearance: none;
    -moz-appearance: none;
}

.widget-area .search-form input[type="search"]:focus {
    border: 1px solid #4e5359;
    background-color: #fefefe;
    outline: none;
    /*box-shadow: 0 0 5px #dbd9da;
    transition: box-shadow 0.5s,border-color 0.25s ease-in-out;*/
}

.widget-area .search-form .search-submit {
	display: none;
}

.widget-area .search-form .search-button {
    position: absolute;
    top: 0.5em;
    right: 20px;
    color: #373737;
	background: none;
	border: 0;
	outline: none;
}

.widget-area .search-form .search-button .fa {
	font-size: 20px;
    line-height: 20px;
}


@media only screen and (min-width: 768px) {
	.totop {
		position: fixed;
		right: 50px;
		bottom: 10px;
	}
}

@media only screen and (max-width: 767px) {
	.scrolled .totop {
		position: fixed;
		right: 15px;
		bottom: 15px;
		z-index: 10;
	}	
	
	/*.scrolled .totop:after {
		content: '';
		border-radius: 50%;
		background: #fff;
		width: 24px;
		height: 25px;
		position: absolute;
		top: 2px;
		left: 1px;
		z-index: -1;		
	}*/
}

@media only screen and (max-width: 640px) {
	.widget-area {
		padding-top: 20px;
		border-top: 1px solid #ccc;
	}
	
	body.single .widget-area {
		border-top: none;
		padding-top: 0;
	}
	
	.widget-area:empty {
		display: none;
	}
	
	.landing .widget-area {
		border-top: 0;
	}
}

/* Mandantenbewertung - JS Iframe */
aside p,
#widgetAnwaltde {
	max-width: 100%!important;
}

aside p:empty,
#widgetAnwaltde p:empty {
	display: none;
}

/* Mandantenbewertung - Button Sidebar */
.mb-button {
	padding: 5px 10px;
	border: 2px solid #9f9143;
	border-radius: 5px;
	text-align: center;
	margin: 20px 0;
	font-size: 17px;
	font-weight: 600;
}

.mb-button a {
	display: inline-block;
	margin: 5px 0 0;
}

.mb-button p {
	padding: 0;
}

.mb-button p br {
	display: none;
}

.mb-button p span {
	display: block;
}

.rating-full {
	display: block;
	margin: 10px 0 0;
}

.rating-full:before {
	content: url(images/star-rating.png);
	display: inline-block;
}

.mb-button > *:not(p) {
	/* opacity: 0;
	height: 0; */
}

/* Mandantenbewertung - Textform einzeln Sidebar */
.mb-text {
	margin: 0 0 20p 0x;
	padding: 10px;
	border: 1px solid #9f9143;
	border-radius: 5px;
}

.mb-text h3 {
	margin: 0 0 30px;
}

.mb-text p {
	padding: 0;
}

.mb-rating {
	border-bottom: 1px solid #f1f1f1;
	padding: 0 0 5px;
	margin: 0 0 10px;
}

.mb-rating .percentage {
	display: inline-block;
	width: 30%;
	font-size: 40px;
	line-height: 1em;
	vertical-align: middle;
}

.mb-rating .recommendation {
	display: inline-block;
	width: 65%;
	vertical-align: middle;
	text-align: center;
	font-weight: 600;
}

.mb-rating .rating-full {
	margin: 0;
}

.mb-quote .continue {
	text-decoration: none;
	display: inline-block;
	margin: 5px 0 0;
}

.mb-quote .continue .fa {
	display: inline-block;
	font-size: 18px;
	vertical-align: bottom;
	margin: 0 0 0 3px;
}

.mb-quote strong {
	font-weight: 700;
}

.mb-quote br {
	display: none;
}

/* Mandantenbewertung - Textform */
blockquote.zitat {
	margin: 0 0 20px 0;
	background: #f1f1f1;
	padding: 20px;
	border-bottom: 1px solid #9f9143;
}

blockquote.zitat p {
	padding: 0;
}

blockquote.zitat br {
	display: none;
}

blockquote.zitat .text {
	display: inline-block;
	position: relative;
	line-height: 2em;
}

blockquote.zitat .text:before {
	content: '„';
	color: #ccc;
	font-size: 40px;
	display: inline-block;
	vertical-align: baselin;
}

blockquote.zitat .text:after {
	content: '“';
	color: #ccc;
	font-size: 40px;
	display: inline-block;
	vertical-align: middle;
}

blockquote.zitat time {
	color: #999;
	display: inline-block;
	margin: 20px 10px 0 0;
}

blockquote.zitat .author {
	display: inline-block;
	font-weight: 600;
	margin: 20px 0 0 0;
}

/* Mandantenbewertung - Plattformen */
.mb-ext {
	margin: 0 0 20px;
}

.mb-ext .mb-img {
	height: 70px;
	position: relative;
}

.mb-ext .mb-img:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}

.mb-ext .google .mb-img:before {
	content: url(images/rating-google.png);
} 

.mb-ext .anwaltde .mb-img:before {
	content: url(images/rating-anwaltde.jpg);
} 

.mb-ext .yelp .mb-img:before {
	content: url(images/rating-yelp.png);
}

.review {
	margin: 20px 0 0;
	border-top: 1px solid #9f9143;
	padding: 20px 0 0;
	position: relative;
}

.review:before {
	content: url(images/star-rating.png);
	display: block;
	margin: 0 0 5px;
}

.review p {
	padding: 0;
}

.review p:first-of-type:before {
	content: '„';
	display: inline-block;
	vertical-align: baselin;
}

.review p:first-of-type:after {
	content: '“';
	display: inline-block;
	vertical-align: middle;
}

.review .author {
	color: #9f9143;
	display: block;
	margin: 10px 0 0;
}

/* Blog-Rating */
.hb-social{border-top:1px solid #f2f0f1;border-bottom:1px solid #f2f0f1;padding:4px
0 8px;margin: 0 0 18px;}
.hb-social .rating{color:black;font-size:12px;}
.hb-social .rating > span {display: inline-block; padding: 0;}
.hb-social .rating .ratingblock{position:relative;-ms-transform:scale(0.75);transform:scale(0.75);margin:0
-10px;top:4px;display:inline-block}
.hb-social .rating .ratingblock .ratingstars{display:inline-block;margin-right:10px}
.hb-social .rating .ratingblock .ratingtext{display:none}
@media screen and (min-width: 0em) and (max-width: 39.9375em){
.hb-social .rating .ratingblock{-ms-transform:scale(1);transform:scale(1);padding-left:15px}}
.hb-social .rating .hb-rating{display:inline-block}

/* Tabellen */
.table-wrapper {
	margin: 0 0 20px 0;
}

#main table {
	margin: 0;
	width: 100%;
}

#main table td,
#main table th {
	padding: 5px 10px;
}

@media (max-width: 1024px) {
	.table-wrapper {
		overflow-x: auto;
	}
}

/* Pagination */
.pagination {
	margin: 0 auto;
	text-align: center;
	line-height: 1.2em;
}
.content .pagination ul li {
	display: inline-block;
	list-style: none;
	border-bottom: 0;
	margin: 0 2px; 
	padding: 0;
}
.content .pagination ul li > * {
	display: inline-block;
	line-height: 22px;
	height: 22px;
	font-size: 14px;
	margin: 0; 
	padding: 0 5px;
}

.content .pagination ul li > .current {
	background: #9f9143;
	color: #fff;
}

.content .pagination ul li a:hover {
	color: #000;
}

/* reCaptcha */
.wpcf7-form-control-wrap {
	margin: 10px 0 0 0;
	line-height: 0;
}

aside .wpcf7-form-control-wrap {
	/*text-align: center;*/
}

.wpcf7-form-control-wrap > div {
	display: inline-block;
}

.notice {
	display: block;
	margin: 10px 0;
	background: #f1f1f1;
	color: #333;
	padding: 5px 10px;
	border-top: 1px solid rgb(222,222,222);
	border-bottom: 1px solid rgb(222,222,222);
}

/*  ### Contentelemte ### */
.site-main {
	line-height: 1.5em;
}
.ce {
	border-color: #9f9143!important; /* ANPASSEN */
    padding: 15px;
	position: relative;
	margin: 10px 0 20px;
}

h2 + .ce {
    margin-top: 5px;
}

ul + .ce,
ol + .ce {
	margin-top: 40px;
}

.ce:before,
.download-text:before {
	color: #9f9143; /* ANPASSEN */
    font-weight: bold;
	text-transform: uppercase;
}

.ce:after {
	color: #9f9143; /* ANPASSEN */
    display: inline-block;
    font-family: FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
	position: absolute;
	left: 25px;
	top: -10px;
	font-size: 34px;
}

.ce > *:last-child {
	margin-bottom: 0!important;
	padding-bottom: 0!important;
}

.der-fall, 
.downloads, 
.rechenbeispiel, 
.tipp, 
.ausrufezeichen, 
.paragraph,
.calendar,
.uhr,
.euro,
.linked,
.icon-link,
.checklist  {	
	background: #F2F0F1; 
	padding: 35px 25px 30px; 
	margin: 20px 0 30px;
	border-bottom: 1px solid #9f9143; /* ANPASSEN */
}

li .der-fall, 
li .downloads, 
li .rechenbeispiel, 
li .tipp, 
li .ausrufezeichen, 
li .paragraph,
li .calendar,
li .uhr,
li .euro,
li .linked,
li .icon-link,
li .checklist   {
	margin-top: 30px;
}

ul.hl {
	border-color: #9f9143!important; /* ANPASSEN */
	border-left: 5px solid;
	padding-left: 20px;
}


.index {
    border: 1px dashed;
    margin-bottom: 20px;
}

.fazit {
    border: 1px solid;
    margin-bottom: 20px;
}

p + .fazit {
	margin-top: 0;
}

.zitat {
	padding: 0 0 5px;

    max-width: 475px;
    margin: 10px auto 20px;
    font-size: 16px;
	font-style: italic;
}

.zitat p:first-child {
	display: inline;
}

.zitat:before {
	content: "\f10e";
	position: static;
    font-family: FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
	color: #ccc;
	margin: 0 10px 0 0;
	font-size: 26px;

	font-style: normal;
	font-size: 20px;
    margin: 0 5px 0 0;
}

@media (max-width: 767px) {
	.zitat {
		max-width: 85%;
	}
}

.paragraph:after {
	content: "\f111";
}

.paragraph:before {
	content: '§';
    font-family: Arial, sans-serif;
    position: absolute;
    left: 34px;
    top: -12px;
    z-index: 2;
    color: #fff;
    font-size: 20px;
}

.ausrufezeichen:after {
	content: "\f06a";
}

.tipp.hl:before {
	content: 'TIPP: ';
}
.tipp:after {
	content: "\f05a";
}

.rechenbeispiel.hl:before {
	content: 'Rechenbeispiel: ';
}
.rechenbeispiel:after {
	content: "\f1ec";
}

.der-fall.hl:before {
	content: 'Der Fall: ';
}
.der-fall:after {
	content: "\f24e";
}

.der-fall:after {
	content: "\f24e";
}
.calendar:after {
	content: "\f073";
}

.uhr:after {
	content: "\f017";
}

.euro:after {
	content: "\f153";
}

.icon-link:after,
.linked:after {
    content: "\f0c1";
}

.download-text {
	float: left; 
	width: 88%;
}
.download-icons {
	float: left;
	width: 12%;
	font-size: 34px;
    position: relative;
    top: -10px;
	text-align: right;
}
.download-icons br {
	display: none;
}

.downloads-icons a {
	color: #000;
}
.download-text.hl:before {
	content: 'Download: ';
}
.downloads:after {
	content: "\f0ed";
}

.checklist:after {
	content: "\f058";
}

/* Zweispaltigkeit */
.thead {
	background: #f1f1f1;
	text-align: left;
	font-weight: bold;
}

.opnv .tentry {
	border-bottom: 1px solid #eee;
}

.thead > div,
.tentry > div, 
.two-columned > div {
	float: left;
	width: 50%;
	padding: 5px;
}

.two-columned {
	margin: 0 0 20px 0;
}

.two-columned > div {
	padding: 0 10px 0 0;;
}

.two-columned > div + div {
	padding: 0;
}

.two-columned + p {
	padding: 0;
}

.thead:after,
.tentry:after, 
.two-columned:after {
	content: '';
	display: table;
	clear: both;
}

.three-columned > div {
	float: left;
	width: 33.33%;
	padding: 5px;
}

.three-columned > div {
	padding: 0 10px 0 0;;
}

.three-columned > div + div + div {
	padding: 0;
}

.three-columned:after {
	content: '';
	display: table;
	clear: both;
}

@media only screen and (max-width: 991px) {
	.two-columned > div,
	.three-columned > div	{
		float: none;
		width: 100%;
		padding:0;
	}
}

.area .fa-car,
.area .fa-map-marker, 
.area .fa-train {
	display: inline-block;
	vertical-align: middle;
	line-height: 0;
	width: 45px;
	height: 45px;
	background: #9f9143;
	border-radius: 50%;
	color: #fff;
	position: relative;
    margin: 0 5px 0 0;
}

.area .fa-car:before,
.area .fa-map-marker:before, 
.area .fa-train:before {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	font-size: 26px;
}

.area h2.af span {
    display: inline-block;
    line-height: 1em;
    max-width: calc(100% - 55px);
    vertical-align: middle;
}

@media (max-width: 640px) {
	.page-id-7950 .widget-area{
		border-top: 0;
	}
	
	.page-id-7950 .opnv .tentry {
		border-bottom: 0;
	}

}

/* Verwandte Beiträge */
.widget_related ul li {
	position: relative;
	margin: 0 0 5px;
}

.widget_related ul li:before {
	content: '';
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    vertical-align: middle;
	transform: rotate(-45deg);
	margin: 0 7px 0 0;
}

/* Accordion */
.accordion-entry {
	padding: 8px;
	border: 1px solid #d3d3d3; 
	margin: 0 0 20px;
}
.accordion-head {
	text-decoration: underline;
	font-weight: 600;
	cursor: pointer;
	padding-left: 30px;
	position: relative;
	display: block;
}

.accordion-head br,
.accordion-content > span[itemprop] > br:first-child {
	display: none;
}

.accordion-head:hover {
	text-decoration: none;
}

.accordion-head:before {
	content: "\f0fe";
	font-family: FontAwesome;
	color: #d3d3d3;
	font-size: 19px;
	position: absolute;
	left: 1px;
    top: 12px;
    line-height: 0;
}

.accordion-head.active {
	color: #9f9143; /* ANPASSEN */  
}
 
.accordion-head.active:before {
	content: "\f146";
	color: #9f9143; /* ANPASSEN */ 
}

.accordion-content {
	display: none;
	padding: 20px 30px 15px;
}
.accordion-content span[itemprop="text"] > ul {
	margin-top: 20px;
}
.accordion-content span[itemprop="text"] > *:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
}

/* fix error message formular */
.wpcf7-not-valid-tip {
	margin-top: 5px;
	line-height:1em;
	font-size:0.8em;
}

.wpcf7 form .wpcf7-response-output {
	margin-top: 0;
}

/* yarpp */
.main ul.related_post li {
	list-style: none;
}

.yarpp h3 {
    background: rgba(245, 245, 245, 1) !important;
    padding: 3px 0 3px 10px !important;
    margin: 0 !important;
    font-weight: normal;
    border-radius: 2px !important;
    border: 1px solid rgba(0, 0, 0, .1) !important;
    clear: both !important;
	margin-bottom: 20px !important;
	font-weight: normal !important;
	text-transform: none!important; 
}


.yarpp .yarpp-thumbnails-horizontal {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -10px;
	
}

.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail {
	width: calc(50% - 20px);
	margin: 0 10px 20px;
	border: 0!important;
	position: relative;
	height: auto!important;
	overflow: hidden;
}

.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail .yarpp-thumbnail-default {
	display: inline;
	margin: 0;
}


.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail img {
	width: 100%!important;
	min-height: 200px!important;
	max-height: 200px!important;
	height: auto!important;
	object-fit: cover;
	margin: 0!important;
}


.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail .yarpp-thumbnail-title {
	display: block;
    position: absolute!important;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff!important;
    font-weight: 500;
    min-height: 60px;
	margin: 0!important;
}

@media (max-width: 640px) {
	.yarpp .yarpp-thumbnails-horizontal .yarpp-thumbnail {
		width: calc(100% - 20px);
	}
}

/* wpforms */
.wpforms-container .wpforms-field {
    max-width: none;
	width: 100%;
}

div.wpforms-container-full {
	margin: 0 auto!important;
}

.wpforms-container .wpforms-field {
	padding: 0 0 10px!important; 
}

div.wpforms-container-full .wpforms-field-label {
    margin: 0 0 4px!important;
    font-weight: normal;
}

div.wpforms-container-full .wpforms-required-label {
	display: none;
}

div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=email],
div.wpforms-container-full select {
	min-height: 0!important;
	height: 32px!important;
	max-width: none!important;
}

div.wpforms-container-full input[type=submit]:not(:hover):not(:active), 
div.wpforms-container-full button[type=submit]:not(:hover):not(:active), 
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
	background: #fff!important; 
	color: #333!important;
	border: 1px solid #333;
}

div.wpforms-container-full input[type=submit]:hover, 
div.wpforms-container-full button[type=submit]:hover, 
div.wpforms-container-full .wpforms-page-button:hover {
	background: #000!important;
	color: #fff!important;
	border: 1px solid #333;
}

.wpforms-field-checkbox .wpforms-field-label {
	font-weight: bold!important;
	margin: 0 0 10px!important;
}

.wpforms-field-checkbox em.wpforms-error {
	color: transparent!important;
	font-size: 0!important; 
	min-width: 0!important;
}

.wpforms-field-checkbox em.wpforms-error:after {
	content: 'Bitte das Einverständnis zur Datenverarbeitung geben.';
    color: #D63637;
    font-size: 15px;
    font-style: normal; 
}

.contact div.wpforms-container-full .wpforms-field-label,
.contact div.wpforms-container-full .wpforms-field-label-inline,
.contact .wpforms-field-checkbox em.wpforms-error:after  {
	font-size: 14px!important; 
} 

.contact a:empty {
	display: block;
	color: transparent;
	text-decoration: none;
	margin: 0 0 10px;
}
