/*
Theme Name: 
Description: 
Author: Merkwert - Agentur für nachhaltige Kommunikation
Author URI: www.merkwert.de
*/
/* HTML5 display definitions
   ========================================================================== */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}
/* =========== Anfang ============= */
* {
   margin: 0;
   padding: 0;
	}

html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*, *:before, *:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  box-sizing: inherit;
  }

ul {
	list-style-type: none; 
	}

body
{
background-image:url(images/Meerblick.jpg);
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-position: center -1em;    
}

h1, h2, h3, h4, h5
{
color: #509e2f;    
font-weight: 400;
-webkit-hyphens: auto;
     -webkit-hyphenate-limit-before: 3;
     -webkit-hyphenate-limit-after: 3;
     -webkit-hyphenate-limit-chars: 6 3 3;
     -webkit-hyphenate-limit-lines: 2;
     -webkit-hyphenate-limit-last: always;
     -webkit-hyphenate-limit-zone: 8%;     -moz-hyphens: auto;
     -moz-hyphenate-limit-chars: 6 3 3;
     -moz-hyphenate-limit-lines: 2;
     -moz-hyphenate-limit-last: always;
     -moz-hyphenate-limit-zone: 8%;     -ms-hyphens: auto;
     -ms-hyphenate-limit-chars: 6 3 3;
     -ms-hyphenate-limit-lines: 2;
     -ms-hyphenate-limit-last: always;
     -ms-hyphenate-limit-zone: 8%;     hyphens: auto;
     hyphenate-limit-chars: 6 3 3;
     hyphenate-limit-lines: 2;
     hyphenate-limit-last: always;
     hyphenate-limit-zone: 8%;
}

h1:before,
h2:before,
blockquote p:before
{
height: 2px;
width: 0.75em;
background: #509e2f;
display: inline-block; 
content:'';   
margin: 0 2px 0 0;   
}

main p
{
-webkit-hyphens: auto;
     -webkit-hyphenate-limit-before: 3;
     -webkit-hyphenate-limit-after: 3;
     -webkit-hyphenate-limit-chars: 6 3 3;
     -webkit-hyphenate-limit-lines: 2;
     -webkit-hyphenate-limit-last: always;
     -webkit-hyphenate-limit-zone: 8%;     -moz-hyphens: auto;
     -moz-hyphenate-limit-chars: 6 3 3;
     -moz-hyphenate-limit-lines: 2;
     -moz-hyphenate-limit-last: always;
     -moz-hyphenate-limit-zone: 8%;     -ms-hyphens: auto;
     -ms-hyphenate-limit-chars: 6 3 3;
     -ms-hyphenate-limit-lines: 2;
     -ms-hyphenate-limit-last: always;
     -ms-hyphenate-limit-zone: 8%;     hyphens: auto;
     hyphenate-limit-chars: 6 3 3;
     hyphenate-limit-lines: 2;
     hyphenate-limit-last: always;
     hyphenate-limit-zone: 8%;    
}

.btn-farbverlauf
{
 background-image: linear-gradient(to bottom, #509e2f, #53a834, #55b339, #57bd3e, #58c843);
background-color: #6583bf;  
color: #fff;    
}

/* =========== header ============= */				
header
{
padding: 20px;
 background-image: linear-gradient(to bottom, #509e2f, #53a834, #55b339, #57bd3e, #58c843);
border-bottom: 6px solid #fff; 
border-top: 6px solid #fff;       
height: 7em;    
opacity: 0.95;    
}

header h1
{
color: #fff; 
font-size: 1.125em;    
}

header h1:before
{
background: #fff;
height: 2px;
width: 1.5em;     
}

header.sticky
{
height: 4em;    
}

header.sticky h1
{
display: none;    
}

.display-4
{
font-size: 1.5rem;    
}
/* =========== Hauptmenü ============= */					
.navbar
{
border-right: none;  
border-left: none; 
width: 90vw;
margin: 0;
position: relative;
top: 1em;
transition: all .3s cubic-bezier(0.445, 0.05, 0.55, 0.95); 
}

#menu-hauptmenue
{
background: #fff;
padding: 15px;  
}

.navbar-toggler-icon,
.close
{
color: #509e2f; 
display: block;
width: 100%;
height: 100%;    
margin: auto;
}

.navbar-toggler[aria-expanded="false"]>.close,
.navbar-toggler[aria-expanded="true"]>.navbar-toggler-icon
{
display:none;
}

.navbar-toggler
{
background: #fff; 
margin-left: calc(100% - 3em);
margin-top: -5em;  
}

header.sticky .navbar-toggler
{
margin-top: 0;    
}

header.sticky .navbar
{
top: -1em;    
}

.navbar li a
{
margin: 0 0.5em 0 0;    
}

.navbar li a:link,
.navbar li a:visited
{
color: #000; 
font-size: 1.125em; 
border-radius: 0.5em;    
}

.mPS2id-highlight
{
background: #57bd3e;
border-left: 2px solid  #509e2f;
border-right: 2px solid  #509e2f;    
color: #fff !important;    
}
/* =========== inhalte ============= */
.wrapper-main
{
width: 100vw;
background: rgba(255,255,255,0.6);
}

main
{
width: 100%;
padding: 5px;
margin: 1em 0 0 0;
}

main ul li
{
    list-style-type: disc;
    margin: 0 0 0 1.5em;
}

main a {
  text-decoration:none;
  border-bottom: 1px solid #57bd3e;
  box-shadow: inset 0 -2px 0 #57bd3e;
  color: inherit;
  transition: all 0.9s cubic-bezier(.33,.66,.66,1);
}

main a:hover {
  background: #57bd3e;
color: #fff;   
text-decoration: none;    
}

.transparent-white
{
background: rgba(255,255,255,0.9);
border-radius: 4em;
padding: 2em;
margin: 7.5em 0 0 0;    
}

body.page main
{
background: rgba(255,255,255,0.9);
position: relative;
margin: 8em 0 0 0;
min-height: 50vh;  
padding: 15px;    
}

main .fas
{
color: #bfb6aa; 
}


.tfree-testimonial-title h3:before
{
height: 0;
width: 0;
}

#sp-testimonial-free-wrapper-77 .sp-testimonial-free-section .slick-dots li.slick-active button
{
  background: #57bd3e !important;
}

#sp-testimonial-free-wrapper-77 .sp-testimonial-free-section .slick-prev:hover, #sp-testimonial-free-wrapper-77 .sp-testimonial-free-section .slick-next:hover {
	background: #57bd3e !important;
	border-color: #57bd3e !important;

}
/* =========== sidebar ============= */				
aside		{
				width: 100%;
				padding: 10px;
				padding-top: 20px;
				}
/* =========== footer ============= */				
footer
{
width: 100vw;
height: 100px;
padding: 20px;
 background: #bfb6aa;
margin: 5em 0 0 0;  
border-top: 6px solid #fff;
border-bottom: 6px solid #fff;
}

#nav-service li a:link,
#nav-service li a:visited
{
    color: #fff;
}

#nav-service li.current-menu-item a,
#nav-service li.current-menu-item a:hover
{
color: #fff;
border-left: 4px solid #fff;
padding: 0 0 0 0.25em;    
}
/* =========== images ============= */

img		{
		border:0;
		max-width: 100%;
		height: auto;
		}
		
/* ==========================================================================
   media Queries - mobile devices
   ========================================================================== */
 @media only screen and (min-width: 576px) {

}
 


@media only screen and (min-width: 768px) {
   
h1:before,
h2:before,
blockquote p:before
{
width: 1.75em;
}

header
{
height: 9em;    
}
    
.display-4
{
font-size: 2.25rem;    
}
.attachment-post-thumbnail
{
max-width: 380px;
height: auto;
}
    
body.home main
{
    margin: 5em 0 0 0;
}
    
body.page main
{
margin: 12em 0 0 0;
}    
}


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

header
{
height: 14em;    
}
    

header.sticky
{
height: 8em;    
}
    
    
.navbar
{
background: #fff;
border-right: 20px solid #bfb6aa;  
border-left: 10px solid #bfb6aa; 
width: 50%;
margin: 0 0 0 50%;
position: relative;
top: 4.5em;
transition: all .3s cubic-bezier(0.445, 0.05, 0.55, 0.95); 
}
    

    
.display-4
{
font-size: 3.5rem;    
}   
   
#menu-hauptmenue
{
padding: 0;  
}
    
main
{
width: 100%;
padding: 20px;
margin: 10em 0 0 0;
}    

body.home main
    {
     margin: 8em 0 0 0;   
    }
    
body.page main
{
background: rgba(255,255,255,0.9);
position: relative;
margin: 18em 0 0 0;
min-height: 50vh;    
}

body.page main article
{
width: 66.6%;    
margin-left: 33.3%;    
}

body.page main article h1,
body.page main article h2
{
margin-left: -33.3%;   
}    
    
    
}

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

}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 0.3125em 1.25em 1.25em 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 0.3125em auto 0.3125em auto;
}

.alignright {
    float:right;
    margin: 0.3125em 0 1.25em 1.25em;
}

.alignleft {
    float: left;
    margin: 0.3125em 1.25em 1.25em 0;
}

a img.alignright {
    float: right;
    margin: 0.3125em 0 1.25em 1.25em;
}

a img.alignnone {
    margin: 0.3125em 1.25em 1.25em 0;
}

a img.alignleft {
    float: left;
    margin: 0.3125em 1.25em 1.25em 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 0.0625em solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 0.3125em 0.1875em 0.625em;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 0.3125em 1.25em 1.25em 0;
}

.wp-caption.alignleft {
    margin: 0.3125em 1.25em 1.25em 0;
}

.wp-caption.alignright {
    margin: 0.3125em 0 1.25em 1.25em;
}

.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: 0.6875em;
    line-height: 1.0625em;
    margin: 0;
    padding: 0 0.25em 0.3125em;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(0.0625em, 0.0625em, 0.0625em, 0.0625em);
	position: absolute !important;
	height: 0.0625em;
	width: 0.0625em;
	overflow: hidden;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 0.1875em;
	box-shadow: 0 0 0.125em 0.125em rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 0.875em;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 0.3125em;
	line-height: normal;
	padding: 0.9375em 1.4375em 0.875em;
	text-decoration: none;
	top: 0.3125em;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}
