.navbar-toggler:hover, .navbar-toggler:focus {
    outline: none;
}

h1 {
    font-size: 26px;
    text-align: center;
}

h1 strong, h2 strong, .content strong {
	color: #fadc8c;
	text-transform: uppercase;
}

p, .flex-vertical .content  {
	text-align: justify;
}

li, .profession  {
	text-align: left;
}

.contentbox .content ul {
    list-style-type: square;
	margin-left: 1rem;
}

.content li strong {
    color: inherit;
    text-transform: none;
}

.text-white strong {
    color: white !important;
	text-transform: none;
}

.adresse strong {
    color: inherit;
    text-transform: none;
}

header .header-image .overlay-home-slogan {
    width: 50%;
    max-width: none;
    background: rgba(79, 56, 52, 0.45);
    line-height: 1.3;	
    text-shadow: 1px 1px 8px rgba(0,0,0,0.35);
}

.content a {
    color: #fadc8c;
}

.team.container .content a {
    color: #006473;
}

.content .content_text a {
    color: #f4f4f4;
}

.contentbox .h1 {
    font-size: 25px;
}

.contentbox h2 {
    font-size: 18px;
}

.cm-quote {
	font-size: 14px;
	margin-top: 2rem;
}

section.referenz-single .right {
	height: auto;
}

section.competencies h2 {
	text-transform: uppercase;
	font-weight: bold;
}

section.post-content .content .content_text a, section.post-content .content a {
    color: #006473;
}

section.post-content .content strong {
    color: inherit;
    text-transform: none;
}

#page-home section.competencies ul li {
    color: #707070;
}

#page-partner .author.blockquote-footer:before { display: none; }

#page-partner .author.blockquote-footer a { 
	color: #4f3834; 
	margin-top: 15px;
    display: block;
}

.box-shadow-15-4F3834 {
    box-shadow: 0 0 15px rgba(79, 56, 52, 0.15);
}

.box-shadow-50-4F3834 {
    box-shadow: 0 0 50px rgba(79, 56, 52, 0.35);
}

.drop-shadow-25-4F3834 {
    filter: drop-shadow(0 0 25px rgba(79, 56, 52, 0.15));
}

.drop-shadow-5-15-000000 {
    filter: drop-shadow(0 -8px 8px -8px rgba(79, 56, 52, 0.5)) drop-shadow(0 8px 8px -8px rgba(79, 56, 52, 0.5));
}

#wpcf7-f549-p56-o1, #wpcf7-f549-o1, section.footer-contact .wpcf7 {
    box-shadow: 0 0 15px rgba(79, 56, 52, 0.15);
	background: #fff;
    padding: 1.5rem;
}

.trust .row, .about .row {
    box-shadow: inset 0 5px 8px rgba(0,0,0,0.05);
}

#page-home section.competencies ul {
    font-size: 17px;
}

header nav.navbar .navbar-brand {
    top: 13%;
    left: 5%;
    max-width: 28vw;
	transform: none;
}

@media only screen and (min-width: 768px) {

    header nav.navbar .navbar-brand {
        top: 0;
    }
}

header nav.navbar .navbar-brand img {
    max-width: 28vw;
}

.wp_rss_retriever_container a {
    color: #006473;
}

.slick-arrow {
    position: absolute;
    top: 100px;
}

.slick-arrow.prev {
    left: -50px;
}

.slick-arrow.next {
    right: -50px;
}

.cm-r-slider {
    max-width: 1290px;
	margin: 0 auto;
	min-height: 385px;
}

.cm-r-slider .blockquote {
	max-height: 0px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	margin-bottom: 0;
	padding: 0 60px;
}

.cm-r-slider .slick-center .blockquote {
	max-height: 200px;
    max-width: 100%;
}

.cm-r-slider .cm-quote {
    font-size: 7px;
	max-height: 40px;
    overflow: auto;
	margin-top: 0;
}

.cm-r-slider .slick-center .cm-quote {
	margin-top: 10px;
}

.cm-r-slider .author {
    font-size: 6px;
	color:#4f3834;
}

.cm-r-slider .slick-slide {
	padding: 0.45%;
}

.cm-r-slider .slick-slide img {
    max-height: 6rem;
}

.cm-r-slider .slick-slide .bg-white {
    padding: 15px 20px;
	min-height: 150px;
	display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.cm-r-slider .slick-center {
	padding: 0.15% 0.45%;
    transform: scale(1.75);
}

.cm-r-slider .slick-list {
    padding: 25px 0 !important;
}

.cm-r-slider .slick-center img {
	max-height: 2rem;
	margin-top: 1rem;
}

header nav.navbar .navbar-collapse {
    padding: 30px 10px 20px 10px;
    left: 0;
    text-transform: uppercase;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link {
    color: #006473;
}

section.footer-columns a {
    color: #fff;
}

@media (min-width: 1440px) {
	section.partner .row, section.team .row, section.news .row, section.beratungen .row, section.erwartungen .row, section.kanzlei-news .row, section.merkblaetter .row {
		max-width: 1290px;
		margin: 0 auto;
	}
}

.home section.team .content {
    min-height: 230px;
}

.home section.team .content .text-primary {
    margin-top: 0.5rem;
    display: inline-block;
}

.cm-pic-card {
	height: 150px;
	max-width: 330px;
	padding: 1rem;
}

.button {
    position: relative;
}

.button:after {
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.25);
	border-radius: 5px;
}
.button:after {
    content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.button:hover, .button:active {
}

.button:hover:after, .button:active:after {
    width: 100%;
}

.cm-qa, .cm-qa2 {
    padding: 1rem;
}

.modal-header .close {
    padding: 0.75rem 1rem;
}

.modal-body {
    color: #707070;
}

.modal-body strong, .modal-body a {
    color: #006473;
}

#searchform {
    width: 100%;
}

input#s {
    width: 80%;
    padding: 10px;
}

button#searchsubmit {
    background: #fadc8c;
    height: 50px;
    width: 50px;
    display: inline-block;
    border: 1px solid #fadc8c;
}

.search-collapse {
    position: fixed;
    top: 100px;
    z-index: 666;
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    padding: 10px;
}

.search-collapse button#searchsubmit {
    position: absolute;
    right: 0;
    height: 100%;
    top: 0;
    width: 5%;
    border: none;
    background: #fbf2e9;
	min-width: 65px;
}

.search-collapse input#s {
    height: 50px;
    padding-left: 20px;
    border: none;
    width: 95%;
    /* margin-right: 11%; */
    /* box-sizing: border-box; */
}

article a.post-thumbnail img {
    max-width: 100%;
    height: auto;
}

h2.entry-title a {
    color: #006473;
    font-weight: bold;
    font-size: 18px;
}

.grecaptcha-badge {
    display: none !important;
}

.card-columns {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

.card-columns .card {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

#page-main-navigation-point section.beratungen .container {
    background: url(../img/layout/main/bg-apostrophe.svg) center 75px no-repeat;
}

section.team .row .row {
    margin: inherit;
	margin-right: -15px;
    margin-left: -15px;
}

#page-main-navigation-point section.beratungen .card-columns .card:hover {
    height: auto;
    max-height: 999px;
	display: flex;
}
#page-main-navigation-point section.beratungen .card-columns .card {
    z-index: 1;
    position: relative;
    min-height: 200px;
    max-height: 200px;
    transition: all 0.3s ease-in-out;
	cursor: pointer;
}
#page-main-navigation-point section.beratungen .card-columns .card:hover .card-body {
    min-height: 200px;
}

.slope-top-leftwards {
    clip-path: polygon(0 1.8vw, 101% 0, 100% 101%, 0 100%);
}

.slope-bottom-rightwards {
    clip-path: polygon(0 0, 101% 0, 101% 100%, 0 calc(100% - 0.9vw));
}

#page-karriere section.erwartungen .square .content {
    display: inline-block;
    max-height: 0px;
    overflow: hidden;
	max-width: 100%;	
}

#page-karriere section.erwartungen .square:hover .content {
    display: inline-block;
    max-height: 200px;
    transition: all 0.3s ease-in-out;
    padding-top: 0.5rem;
}


#page-partner section.referenz-single .left img {
	width: auto;
    max-width: 100%;
    max-height: 215px;
}

*:focus {
    outline: none;
}

.img-fluid {
    flex-shrink: 0;
}

#page-team .member.col.flex-vertical {
    padding: 0;
	flex: 0 0 25%;
}

#page-team .member.col.flex-vertical.active {
	flex: 100%;
}

#page-team .member .header {
	flex-shrink: 0;
	display: block;
}

.nav-link {
    cursor: pointer;
}

.red {
    color: #ce5a55;
    font-weight: bold;
    text-transform: uppercase;
}

.brown {
    color: #827871;
    font-weight: bold;
    text-transform: uppercase;
}

.box-shadow-5-15-000000 {
    box-shadow: 0px 5px 15px rgba(0,0,0,0.35);
}

#header ul.nav {
    -webkit-overflow-scrolling: touch;
    cursor: pointer;
    opacity: 0;
	right: 5px;
    position: fixed;
    transition: all .4s cubic-bezier(.7,0,.3,1);
    z-index: 666;
	background: #fff;
	top: -75px;
}

#header ul.nav.show {
	-webkit-transform: translate3d(0,55px,0);
    opacity: 1;
	top: 0;
    transform: translate3d(0,55px,0);
}

#header .mobile-contact {
    right: 0;
    position: absolute;	
}

.ol-control {
    margin-top: 2em;
}

.ol-control button {
    background-color: rgba(0, 113, 110, 0.5) !important;
}

.ol-control button:hover {
    background-color: rgba(0, 113, 110, 0.75) !important;
}

li.active a {
    border: none !important;
    background: transparent !important;
}

section header.text-uppercase.text-primary {
    text-align: center;
    font-size: 32px;
	line-height: 1.3;
}

#page-team .member {
	cursor: pointer;
}

div.wpcf7-response-output {
    clear: both;
}

.ma-close {
    position: absolute;
    top: 35px;
    right: 20px;
	z-index: 333;
}

.ma-close:hover {
    color: #73570b;
}

@media (max-width: 1199px) {
	#header ul.nav li.nav-item {
		display: block !important;
		background: rgba(0, 113, 110, 0.2);
		float: none;
		min-width: 42px;
		text-align: center;
		clear: both;
	}
}

@media (min-width: 576px) {
	.modal-dialog {
		max-width: 80%;
	}
}

@media (min-width: 768px) {
	h1 {
		font-size: 35px;
		text-align: left;
	}
	
	.contentbox .h1 {
		font-size: 35px;
	}
	
	section header.text-uppercase.text-primary {
		text-align: left;
		font-size: 35px;
	}
	
	.contentbox h2 {
		font-size: 25px;
	}
	
	#page-home section.competencies ul {
		font-size: 20px;
	}

	.cm-quote {
		font-size: 18px;
	}
	
	header nav.navbar .navbar-brand {
		top: -3.4375rem;
		left: 50%;
		transform: translateX(-100%);
	}
	
	header nav.navbar .navbar-brand img {
		max-width: none;
	}
	
	.cm-r-slider .blockquote {
		padding: 0;
	}
	
	#page-team .member .header {
		display: flex;
	}
	
	.ma-close {
		top: 10px;
		right: 10px;
	}
}

@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0)
{ @media {
	#page-team .member .thumbnail .header {
		align-items: flex-start;
	}
	#page-team .member.col.flex-vertical.active {
		background: #fff;
	}
	#page-team .member.col.flex-vertical.active .detail .header {
		align-items: flex-start;
	}
}}	

@media not all and (min-resolution:.001dpcm) { @media {

	#page-team .member .thumbnail .header {
		align-items: flex-start;
	}
	#page-team .member.col.flex-vertical.active {
		background: #fff;
	}
	#page-team .member.col.flex-vertical.active .detail .header {
		align-items: flex-start;
	}	
}}

@media (min-width: 992px) {

	.modal-dialog {
		max-width: 800px;
	}

}

@media (min-width: 1200px) {
	header section.hero .overlay img {
		top: 45%;
		left: 80%;
	}
	
	header .header-image .overlay-home-slogan {
		font-size: 35px;
		width: 35%;
	}
	
	#page-news .wp_rss_retriever_list {
	 -webkit-column-count: 3;
		-moz-column-count: 3;
			 column-count: 3;
	}
	
	#page-partner section.referenz-single .left {
		height: 330px;
		max-width: 625px;
		top: -75px;
	}

	#header ul.nav {
		opacity: 1;
		position: static;
	}
	
}


@media screen and (min-width:0\0) { 
   /* CSS für alte Versionen von IE */
	section.partner .row, section.team .row, section.news .row, section.beratungen .row, section.erwartungen .row {
		max-width: none;
	}
	
	section.team .row .row {
		margin-right: 0;
		margin-left: 0;
	}

	section.team .flex-grow-1 {
		flex-grow: 0 !important;
	}

	#page-team .member.col.flex-vertical.active {
		flex: 50%;
	}
	
	.cm-r-slider .slick-slide .bg-white {
		height: 150px;
	}
	
	.qa-text {
		font-size: 16px !important;
	}

	#page-main-navigation-point section.beratungen .card-columns .card {
		overflow: hidden;
	}

}

#wpcf7-f549-p56-o1 p:last-of-type, #wpcf7-f549-o1 p:last-of-type {
    display: inline-block;
    position: relative;
    float: right;
}

.wpforms-container {
    background: #fff !important;
    margin: 0 !important;
    padding: 1.5rem !important;
    box-shadow: 0 0 15px rgba(79, 56, 52, 0.15) !important;
}

.wpforms-container input {
    max-width: 100% !important;
    padding: 1.5rem 0.5rem !important;
}

.wpforms-field-label {
    font-weight: 400 !important;
}

.wpforms-container input,
.wpforms-field-textarea textarea {
    background: #F4F4F4 !important;
}
.wpforms-field-textarea textarea {
    padding: 0.5rem !important;
}