/*
	Theme Name: IFFF / WILPF 
        Description: theme html5-WILPF 
        based on framework [HTML5 Blank](http://html5blank.com)
	Version: 0.1
*/

/* source-sans-pro-regular - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/source-sans-pro-v11-latin-regular.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'),
       url('fonts/source-sans-pro-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

/* source-sans-pro-600 - latin */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/source-sans-pro-v11-latin-600.eot'); /* IE9 Compat Modes */
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
       url('fonts/source-sans-pro-v11-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/source-sans-pro-v11-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-600.woff') format('woff'), /* Modern Browsers */
       url('fonts/source-sans-pro-v11-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/source-sans-pro-v11-latin-600.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

#mainflex aside.sidebar section.covid {
   padding:0;
   background: #fff;
}

/** Team mit Fotos _rund */

.post-4007 .wp-block-media-text__media img {
  max-width: 200px!important;
  vertical-align: top;
  padding-top: 5%;
  border-radius: 200px!important;
}
.post-4007 .wp-block-media-text .wp-block-media-text__content {
  padding: 0 2%;
}


/** Schriftfarbe geändert 2020 **/

.footer {
  color: #998558;
}

/**Schriftfarbe Ende **/

.cc-banner .cc-message {
 font-size: 1.5rem;
}
.cc-link, .cc-revoke:hover {
    text-decoration: none !important;
	font-weight: normal ;
}

/* post-datum bei Terminen ausblenden*/

div.sidebar-widget p span.post-date {
  display:none;
}

.category-termine span.date {
    display:none;
}


.page-id-182 section.spenden {
  display:none;
}

.post-122.wysijap.type-wysijap.status-publish.hentry span.date {
  display:none;
}

.wysija-msg.ajax div.allmsgs {
  max-width: 260px;
}

/** unsorted  **/

.flexslider {
 margin: 0 0 55px 0!important;
}

.flex-control-paging li a {
    width: 8px!important;
    height: 8px!important;
    display: block;
    background: #B19545!important;
   /* background: rgba(0,0,0,0.5);*/
}

/*** automatische Silbentrennung - noch nicht in Chrome ***/



div#content div.flex-boxen h2,
div#content div.flex-boxen h3,
div#content div.flex-boxen p {
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
   -webkit-hyphenate-limit-lines: 2;
   hyphenate-limit-lines: 2;
   -webkit-hyphenate-limit-chars: auto 3;
   hyphenate-limit-chars: auto 3;
}

div#content div.flex-boxen p a.view-article {
  hyphens: none;
}
  

img.border {
  border: 1px solid #998558;
}

.suche {
  display: flex; 
  justify-content:flex-end; 
  margin:20px 20px 0 0;
}



/** responsive Video */

.elastic-video {
	position: relative;
	padding-bottom: 55%;
	padding-top: 15px;
	height: 0;
	overflow: hidden;
}
.elastic-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/** +++ ***/



div.pagination {
  text-align: right;
  padding-right: 20px;
}


/**metaslider**/
div.metaslider.metaslider-flex.metaslider-58.ml-slider {
  max-width: 800px !important;
}

.metaslider .caption-wrap {
  background: #ffffff !important;
  color: #a28b53 !important;
  font-weight: 600;
  opacity: 0.8 !important;
}



/*** start flexcontainer startseite **/


.flex-boxen {
  display: flex; 
  flex-direction:row; 
  align-items:strech;
  justify-content:space-between;
}

.flex-boxen > section {
  flex-grow: 1;
  margin-bottom: 15px;
  margin-right: 2%;
  max-width: 32%;
  padding: 0;
  width: 32%;
  border: 2px solid #a28b53;
}

.flex-boxen > section:last-child {
  margin-right: 5px;
}


/*.container {
  border: 2px solid #a28b53;
}

	
div.container div {
  padding: 0px 20px 5px 20px;
}*/


div.container div {
  padding: 0px 1vw 5px 1vw;
}

div.container h2 {
  font-size: 1.25em;
  text-align: center;
  color: #1b88ca;
}


.container ul {
  margin: 0;
  padding: 0;
}

.container span.post-date,
.sidebar-widget span.post-date {
  padding-right: 10px;
}

.container h3,
h4 {
  display: inline-block;
  margin: 0 0 0 0px;
  font-size: 1em;
}

.container h3 a, h4 a {
 /* color: #a28b53;*/
  color: #222222;
  font-weight: 600;
}

.container h3 a:hover,
.container h4 a:hover {
  border-bottom: 1px dotted #222;
}

div.sidebar-widget h4 a {
  color: #a28b53;
}
div.sidebar-widget h4 a:hover {
  border-bottom: 1px dotted #a28b53;
}

.container p,
.sidebar-widget p {
  margin-top: 0.2rem;
  padding-top: 0;
}


/* ------- */

#header-core {	
	display: flex;
    width: 100%;
	border: 1px solid red;
}

div.logo a:hover {
  border-bottom: none;
}


#claim {
   padding: 30px 0 0 20px; 
   font-size: 1.75em;
   line-height: 1.5em; 
   text-align: left;   
}
#logoschrift_oben {color: #1b88ca; /*color: #1b88ca;*/}
#logoschrift_unten {color: #a28b53; font-size: 0.8925em;}


.lcp_thumbnail {
    max-width: 250px;
}


div#text-2.widget_text div.textwidget,
div#text-3.widget_text div.textwidget {
  padding: 0 20px;
}

.footer_menu {
  display:flex;
  flex-direction:row;
  justify-content: space-around;
  flex-wrap: wrap;
  font-weight: normal;
}

.footer_menu li.menu-item a {
  display:inline;  
}


.footer_menu > div {
  margin-bottom: 20px;  
}


div.footer_menu ul li {
  font-size:1.325rem;

}

div.footer_menu a {
  color: #998558;
  font-weight: normal;
}

div.footer_menu a:hover,
div.footer_menu a:focus,
div.footer_menu a:active {
  border-bottom: 1px dotted #a28b53;
}


form#form-wysija-3.widget_wysija {
  display: flex;
  align-items: flex-end;
}


form#form-wysija > .widget_wysija {
  display: flex;
}

.widget_wysija_cont .wysija-submit {
  margin: 0 0 0 5px;
  background: rgba(162, 139, 83, 0.2) none repeat scroll 0 0;
  border: medium none;
  color: #a28b53;
}

.wysija-input {
  width: 150px; 
  border: 1px solid #a28b53;	
  font-size: 13px;  
}

.footer_menu p.wysija-paragraph {
  margin:0;
  padding:0;
}


/*** Seite Mitglieder - Liste ***/
div#content section article#post-144 p {
   line-height: 2.5rem;
}
/**..**/

.clearfix:after {
content: ".";
display: block;
clear: both;
font-size: 0;
height: 0;
visibility: hidden;
} 

/*** yost breadcrumb ***/
p#breadcrumbs {
   padding:0 20px; 
   margin-top:0;
   font-size: 1.5rem;
}


.wrapper {
  background: #fff;

}

/*** TOP-Button ***/
#buttonup {
  display: block;
  position: fixed;
  bottom:50px;
  right: 0px;
  color: #fff;
  background: #b19545;
  padding: 0px 25px 0px 15px;
  z-index: 1000;
  height: 50px;
  line-height: 50px;
}

a#buttonup.on:hover,
a#buttonup.on:active {
  border-bottom:none!important;
}


/*** List category posts ***/

.lcp_catlist h3, h3 {
   margin-bottom: 5px;
}

.lcp_catlist p {
   margin:0 0 3px 0;
}

.lcp_date {
  font-weight:600;
}

.lcp_thumbnail {
  float:left;
  padding: 0.3vw 1.5vw 1vw 0;
}

.lcp_paginator {
  padding-left: 0;
}

.lcp_paginator li {
    border: 1px solid #ddd!important;
    display: inline-block;
    margin: 2px;
    padding: 0 5px;
}


/***lcp Ende ***/


.social_buttons_footer {
	display: none;
  	text-align: center;
  	margin-top: 1vw;
}

.social_buttons_footer a {
	margin: 0 2vw;
}

.mobilsearch {
	display: none;
}

/*------------------------------------*\
    UNSORTED
\*------------------------------------*/


div.list-content {
  background: #fff; 
  padding: 1vw;
}


fieldset {
    border: none;
    margin: 0 2px;
    padding: 0;
}


form.search {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
    align-content:flex-end;
}

form.search input {
    flex-grow: 1;
  	border: 1px solid #a28b53;
  	padding: 5px;
    margin: 0 20px;
    height: 15px;
}

div#search-3 {
  max-width: 330px; 
}

div#search-3 form.search button.search-submit {
  background: rgba(162, 139, 83, 0.2);
  color: #a28b53;
  border: none;
}


#aktuelles ul {
  margin: 0;
  padding: 0;
}

#aktuelles span.post-date, #topthema span.post-date {
  padding-right: 10px;

}

#aktuelles h3, #topthema h3 {
  display: inline-block;
  margin: 0 0 0 0px;
}

#aktuelles p, #topthema p {
	margin-top: 0.2rem;
  padding-top: 0;
}

div.clear {
  clear: both;
}

img.attachment-thumbnail {
  float: left;
  margin-right: 15px;
}

.wrapper {
	box-shadow: 0 0 20px #a0a0a0;
}

#mainflex {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;

	margin: 0.5vw 1vw 0.5vw 0;
}

#mainflex section {
  /*background: blue;
	padding: 1vw;*/
}

#mainflex #content {
	width: 67%;
	flex-grow: 1;
	flex-shrink: 1;
    padding: 0 20px;
}

#mainflex > aside {
	width: 33%;
	min-width: 250px;
	flex-grow: 1;
	flex-shrink: 1;
  	background: #ffffff;
  text-align: center;
}

#mainflex > aside > section {
  	background: #b19545;
  	padding: 1vw 0;
  	margin-bottom: 1vw;
    color: #fff;
}

section.spenden {
  background: #ffffff!important;
  padding:0!important;
}
section.spenden a:hover {
  border-bottom: none;
}

.sidebar section p a,
.sidebar section p a:hover,
.sidebar section p a:focus,
.sidebar section p a:active {
  color: #ffffff;
}

.sidebar section p a:hover {
  border-bottom: 1px dotted #ffffff;
}

#mainflex > aside > section.link, 
div.textwidget section.link {
  background: rgba(162,139,83, 0.2);
}

/** speizialangaben für text Widget **/
div.textwidget section.link {
  padding: 20px; 
  color: #a28b53;
}

div#mainflex aside.sidebar section.custom-sidebar {
  padding:0;
}


section.link p a,
section.link p a:hover,
section.link p a:focus,
section.link p a:active	{
  color: #1b88ca;	
}

section.link p a:hover {
  border-bottom: 1px dotted #1b88ca;
}	  

.sidebar section.custom-sidebar {
 background: #fff !important;
}

	
.contentflex {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	align-items: stretch;
	margin-bottom: 1vw;
}

.contentflex > section {
	width: 50%;
	flex-grow: 1;
	flex-shrink: 1;
}

.contentflex > section:first-child {
	margin-right: 1vw;
}

div#content section div#presse {
  background: #fff;
  padding: 20px;

}

/*------------------------------------*\
    Header und Hauptnavigation
\*------------------------------------*/
#headerflex {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
/*	justify-content: space-between;*/
    padding-top: 10px;
	max-width: 890px;
	width:100%;
}

#service ul {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
	display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
	display: -ms-flexbox;      /* TWEENER - IE 10 */
	display: -webkit-flex;     /* NEW - Chrome */
	display: flex;
	justify-content: flex-end;
	list-style: none;
    padding-right: 12px;
  	padding-left: 0;
  	margin-left: 0;
}

/*#service ul a {
	display: block;
	padding: 0px 8px 0px 8px; 
	color: #002d56;
	border-left: 1px solid #002d56;
	line-height: 1.5rem;
}

#service ul li:first-child a {
	padding: 0px 8px 0px 8px; 
	border-left: 0px solid #002d56;
}

#service ul a:focus,
#service ul a:hover,
#service ul a:active {
	text-decoration: underline;
}
*/
#service .social_buttons_header {
	text-align: right;
  	padding: 5px 20px 0 0;
	font-size: 0.875em
}

#service .social_buttons_header img {
  	margin-left: 5px;
}

#service .social_buttons_header a:focus,
#service .social_buttons_header a:hover,
#service .social_buttons_header a:active {
	text-decoration: none;
}


div.social_buttons_header a {
  color: #1b88ca;
  padding:0 3px 0 5px; 
  border-left: 2px solid #1b88ca; 
}

div.social_buttons_header a:first-child {
   border-left:none;
}
	
li.menu-item a {
	display: block;
}

nav.nav ul > li:focus > ul,
nav.nav ul > li:hover > ul,
nav.nav ul > li:active > ul {
	display: block;
}

nav.nav ul.sub-menu {
	display: none;
	left: 0;
	position: absolute;
	z-index: 99;
	min-width: 100%;
}


nav.nav li:last-child ul.sub-menu {
    right: 0;
    left: inherit;
}


nav.nav ul > li.menu-item {
	flex-grow: 1;
	padding: 0;
	position: relative;
	border-top: 1px solid #fff;
}

nav.nav ul.sub-menu > li.menu-item {
	text-align: left;
	padding: 0;
	font-size: 1.65rem; 
	background: #fff;
    border-top: 1px solid #998558;
}

nav.nav ul.sub-menu > li.menu-item a {	
	color:#998558;
	}
	
nav.nav ul.sub-menu > li.menu-item a:focus,	
nav.nav ul.sub-menu > li.menu-item a:hover,
nav.nav ul.sub-menu > li.menu-item a:active {
	background: rgba(162, 139, 83, 0.2);
	color:#998558;
}	
	
	

/** dritte Ebene **/

nav.nav ul.sub-menu li ul.sub-menu {
	top:0;
    left: 100%;
    color: green;
	position: absolute;
	z-index: 99;
	min-width: 100%;
}

nav.nav li:last-child ul.sub-menu li ul.sub-menu {
    left: -100%;
    max-width:100%;
    
}




/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 1.625rem;	
	color: #222 /*#998558 /a28b53*/;
	background: #ece8dd;
}
  
  
section.link .sidebar-widget p {
  	color: #a28b53;
	padding: 0 20px;
}
  
  
  
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
    height: auto;
}
a {
	color: #1b88ca;
	text-decoration:none;
    font-weight: 600;
}
a:hover, a:active {
	border-bottom: 1px dotted #1b88ca;
  	outline:0;
}
a:focus {
	outline:0;
}
/*a:hover,
a:active {
	outline:0;
    text-decoration: underline;
	color: #7097BB; 	  
}*/
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1280px;
	width:95%;
	margin:10px auto 40px auto;
	position:relative;
    padding-bottom: 1vw;
}
/* header */
.header {
    width: 100%;
}

/* logo */
.logo {
    padding-left:20px;
}
.logo-img {
    height: auto;
    max-height: 150px;
    transition: all 0.3s ease 0s;
    width: 100%;
    max-width:150px;
	padding-left: 10px;
}


div.claim {

}
/* nav */
.nav {
 
}

nav.nav ul {
    align-items: stretch;
    display: flex;
 /* justify-content: space-between;*/
    list-style: outside none none;
    padding: 0;
   /* background: #1b88ca;*/
    background:#1b88ca;
    text-align: center;
    color: #fff;
}

nav.nav ul li {
    font-size: 2.25rem;
    padding: 10px 0px;    
}

.current-menu-item {
   
} 

nav.nav ul > li:last-child,
nav.nav ul li li {
    border-right: 0;
}

nav.nav ul li a {
    color: #ffffff;
    padding: 10px 20px; 
}

nav.nav > ul li ul {
  box-shadow: 0 0 10px #a0a0a0;
}



nav.nav > ul > li.current-menu-item > a, 
nav.nav > ul > li.current_page_ancestor > a,
nav.nav ul li a:hover,
nav.nav ul li a:focus,
nav.nav ul li a:active {
    background: #b19545;
    color: #fff;
    text-decoration: none;
    border-bottom: none;
}




nav.nav > ul > li > ul > li.current-menu-item > a,
nav.nav > ul > li > ul > li.current_page_ancestor > a {
   font-weight: 600;
   color: green;
}



/* sidebar */
.sidebar {

}
/* footer */
.footer {
  margin: 1vw 1vw 0 1vw;
  background: #ECE8DD;
  padding: 15px 1vw 5px 1vw;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/
article {
  background:#fff; 
  padding: 5px 0px; 
}

article h1 {
  border-left: none;
  padding-left: 0;
}


/*------------------------------------*\
    IMAGES
\*------------------------------------*/


img {
  
}


/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family: 'Source Sans Pro', sans-serif;
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}



/*h1 {
    font-size: 1.45em;
    font-weight: normal;
    margin: 0 0 0.67em 0;
}*/


h1 {

    font-size: 1.45em;
    margin: 0;
   font-weight: 600;
}


h2 {
   color: #1b88ca;
}

h2.widgettitle {
  font-weight:normal;
  font-size: 2rem;
}



	
.sidebar-widget h3 {
  letter-spacing: 0.125em;
  padding:5px 0 5px 0;
  margin:0; 
}


div.sidebar-widget h3 a {
  letter-spacing:0;
}


section.link h3 {
  color: #a28b53;
  letter-spacing: 0.125em;
}

div#metaslider_widget-7 h3  {
  letter-spacing: 0!important;
  padding: 0 0 10px 0;
  margin: 0;
  color: #a28b53;
  font-size: 100%;
  
}



/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

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

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

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

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

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

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

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#1B88CA;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#1B88CA;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#1B88CA;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.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%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:12px;
	line-height:17px;
	margin:0;
	padding:5px 5px 0 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}




/**
 **** MOBILE MENU
 *
 * responsive elements adapted from
 * http://t3-developer.com tutorial
 * thanks to Klaus Heuer  
 **/        
        
/**** MOBILE ANPASSUNGEN ********/
#toggle {
  display: block;
  width: 28px;
  height: 30px;
  margin: 30px auto 10px;
}

#toggle span:after,
#toggle span:before {
  content: "";
  position: absolute;
  left: 0;
  top: -9px;
}
#toggle span:after{
  top: 9px;
}
#toggle span {
  position: relative;
  display: block;
}

#toggle span,
#toggle span:after,
#toggle span:before {
  width: 100%;
  height: 3px;
  background-color: #888;
  transition: all 0.3s;
  backface-visibility: hidden;
  border-radius: 2px;
}

/* on activation */
#toggle.on span {
  background-color: transparent;
}
#toggle.on span:before {
  transform: rotate(45deg) translate(5px, 5px);
}
#toggle.on span:after {
  transform: rotate(-45deg) translate(7px, -8px);
}
#toggle.on + #menu {
  opacity: 1;
  visibility: visible;
}



#mobilMenu {
  overflow: hidden;
  outline: 0px !important;
	position: relative;
}

#mobilMenu > a.showmobile:focus {
  outline: 0px !important;
}

a#showmobileclose {
	position: absolute;
	top: 0;
	left: 0;
	display: block; 
	width: 100%;
}

.mobil-menuLink, a.mobil-homeLink {
  padding: 0;
  display: block;
  font-size: 2rem;
  color: #999999;
  text-decoration: none;
  text-transform: uppercase;
}

.mobil-menuLink {
  text-align: center;
}

#mobilMenuListe {
  	color: #000000;
	margin-bottom: 1.90rem;
}

#mobilMenuListe.none-desk ul {
  margin: 0 0 0 0;
  padding: 0px;
  list-style: none;
}

#mobilMenuListe.none-desk > ul {
  margin: 20px 0 0 0;
}

#mobilMenuListe ul li {
  padding: 5px 5px 5px 40px;
  	text-align: left;  
}

#mobilMenuListe ul li.mobile_sub1 {
  border-top: 1px solid #dcda09;
  border-bottom: 0px;
  margin: 0px 10px 0px 20px;
  padding: 8px 10px;
}

#mobilMenuListe ul li.mobile_sub1:first-child {
  margin-top: 10px;
}

#mobilMenuListe ul li a {
  color: #000000;
  text-decoration: none;
  display: block;
	font-size: 1.5rem;
	font-weight: normal;
}

#mobilMenuListe ul li a:hover,
div#mobilMenuListe .current_page_item a {
  border-bottom:none;
  color: #999999 !important;
}

.hide-desktop {
  display: none ;
}
  
body .hidden {
  display: none;
}

.none-desk {
  	display: none;
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/


/************************************/
@media only screen and (min-width: 1px) and (max-width: 480px) {
header > nav.nav {
	display: none;
}

.none-mobile {
	display: none;
}

.none-desk {
  	display: block;
}

div#mainflex {
	display: block;
}

div#headerflex {
	display: block;
}


.logo-img {
    padding-left: 18px;
    max-width: 120px;
}

div#claim {
    font-size: 1.125em;
    line-height: 1.25em;
    padding-top: 5px;
    padding-bottom: 5px;
}

div#mainflex #content {
	width: 100%;
}

div#mobilMenu {
	position: absolute;
  	right: 0px;
  	width: 50px;
}
div#service {
	display: none;
}

div.contentflex {
	display: block;
}

div.contentflex > section {
	width: 100%;
    margin-top: 1vw;
}

div#mainflex > aside {
   width: 100%;
   margin-top: 1vw;
}

div.flex-boxen {
   display:block;
}

div.flex-boxen > section {
   max-width: 100%;
   width:100%;
}

section.mobilsearch {
	display: block;
}

section.mobilsearch {
	display: block;
}

.social_buttons_footer {
  display: block;
  text-align: left;  
  margin-bottom: 30px;
}
.social_buttons_footer a:first-child {
    margin: 0;
}

.footer_menu {
  justify-content: left;
  }

  footer .sidebar-widget {
   display:block;
   background:none;
  }
  footer .sidebar-widget ul {
    padding:0;
    text-align: center;
    margin: 0;
  }

  footer .sidebar-widget ul li {
    display:inline;
    list-style:none;
    padding-right: 5px;
    padding-left: 5px;
  }

  footer .sidebar-widget ul li a {
   display:inline;
   
 }

}

/************************************/
@media only screen and (min-width: 481px) and (max-width: 600px) {
header > nav.nav {
	display: none;
}

.none-mobile {
	display: none;
}

.none-desk {
  	display: block;
}

div#mainflex {
	display: block;
}

div#headerflex {
	display: block;
}

.logo-img {
    padding-left: 18px;
}

div#claim {
    font-size: 1.125em;
    line-height: 1.25em;
    padding-top: 5px;
    padding-bottom: 5px;
}

div#mainflex #content {
	width: 100%;
}

div.contentflex {
	display: block;
}

div.contentflex > section {
	width: 100%;
  margin-top: 1vw;
}

div#service {
	display: none;
}

div#mobilMenu {
	position: absolute;
  	right: 0px;
  	width: 50px;
}

main.standardpage {
	margin-top: 1vw;
}

div#mainflex > aside {
	width: 100%;
  margin-top: 1vw;
}

section.mobilsearch {
	display: block;
}

.social_buttons_footer {
  display: block;
  text-align: center;  
  margin-bottom: 30px;
}

.social_buttons_footer a:first-child {
    margin: 0;
}

.footer_menu {
  justify-content: left;
  }

  footer .sidebar-widget {
   display:block;
   background:none;
  }
  footer .sidebar-widget ul {
    padding:0;
    text-align: center;
    margin: 0;
  }

  footer .sidebar-widget ul li {
    display:inline;
    list-style:none;
    padding-right: 5px;
    padding-left: 5px;
  }

  footer .sidebar-widget ul li a {
   display:inline;
   
  }

}

/************************************/
@media only screen and (min-width: 601px) and (max-width: 800px) {
header > nav.nav {
	display: none;
}

.none-mobile {
	display: none;
}

.none-desk {
  	display: block;
}

div#mainflex {
	display: block;
}

div#headerflex {
	align-items: center;
}

#claim {
    font-size: 1.275em;
    line-height: 1.375em;
}

div#mainflex #content {
	width: 100%;
}

div#service {
	display: none;
}

div#mobilMenu {
	position: absolute;
  right: 0px;
  width: 50px !important;
}

main.standardpage {
	margin-top: 1vw;
}

div#mainflex > aside {
	width: 100%;
  margin-top: 1vw;
}

section.mobilsearch {
	display: block;
}


.social_buttons_footer {
  display: block;
  text-align: center;  
  margin-bottom: 30px;
}

}


/************************************/
@media only screen and (min-width: 801px) and (max-width: 1024px) {

nav.nav ul li {
    font-size: 2.0rem;
}
nav.nav ul li a {
    color: #ffffff;
    padding: 10px 0;
}
  
.sidebar-widget h3 {
    letter-spacing: 0.1em;
	  }
  
}

/************************************/
@media only screen and (min-width: 1025px) and (max-width: 1280px) {

  nav.nav ul li {
	  font-size: 2.0rem;
  }
}