/*----------------------------------------------------------------------------------------------------*\
	M O D U L E S

	GENERAL
		navbar
		navlist
		articles
		postnav
		widgets
		forms

	CUSTOM
\*----------------------------------------------------------------------------------------------------*/





/*----------------------------------------------------------------------------------------------------*\
	navbar
\*----------------------------------------------------------------------------------------------------*/


/* gaps */
#navbar div { margin: 0 0 0 2.25em; }
#navbar a { padding: 0 0.75em; }


/* height of navbar */
#navbar a { line-height: 3em; }


/* settings */
#navbar ul {
	list-style: none;
	margin: 0;
	}
#navbar a {
	display: block;
	text-decoration: none;
	white-space: nowrap;
	}


/* position of level 1 */
#navbar ul li {
	float: left;
	position: relative;
	}


/* position of level 2 */
#navbar ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3em;
	left: 0;
	z-index: 99999;
	}
#navbar ul ul li { float: none; }


/* position of level 3 */
#navbar ul ul ul { 
	left: 100%; 
	top: 0; 
	}


/* make nested uls visible */
#navbar ul li:hover > ul { display: block; }



/* deactivate link for redirect-page-items – only on no-touch-devices */
html.no-touch #navbar .template-page-redirect > a {
	pointer-events: none;
	cursor: default;
}



li.template-page-hidden {
	display: none;
}




/*----------------------------------------------------------------------------------------------------*\
	navlist
\*----------------------------------------------------------------------------------------------------*/

#navlist a { line-height: 3em; }
#navlist ul {
	list-style: none;
	margin: 0;
	}
#navlist a {
	display: block;
	text-decoration: none;
	white-space: nowrap;
	}
/* childrens */
#navlist ul.children  {
	display: none;
	}
/* show childrens and siblings */
#navlist ul li.current_page_item > ul,
#navlist ul li.current_page_ancestor > ul {
	display: list-item;
}
/* shift childrens to the right */
#navlist ul a { padding-left: 3em; }
#navlist ul ul a { padding-left: 4.5em; }
#navlist ul ul ul a { padding-left: 6em; }
#navlist ul ul ul ul a { padding-left: 7.5em; }
#navlist ul ul ul ul ul a { padding-left: 9em; }





/*----------------------------------------------------------------------------------------------------*\
	articles
\*----------------------------------------------------------------------------------------------------*/


article.item {
	padding-top: 0 !important;
	padding-bottom: 0.75em !important;
	margin-bottom: 0 !important;
}
article.item * {
	margin-bottom: 0.375em !important;
}
article.item .title {
	margin-top: 1.5em !important;
}
article.item .wp-post-image {
	width: 6em;
	height: auto;
}

/* event */
article.item .date {
	margin-top: 1.5em !important;
}
article.item .date + .title {
	margin-top: 0.375em !important;
}

/* member */
article.item-member .title {
	margin-bottom: 0 !important;
}

/* startseite */
.postlist-start-title {
	padding-top: 0.375em !important;
	margin-bottom: 0.375em !important;
	border-top: 0 !important;
}
.postlist-start-more {
	padding-top: 0.75em !important;
	margin-bottom: 0.75em !important;
	text-align: right;
}




/*----------------------------------------------------------------------------------------------------*\
	postnav
\*----------------------------------------------------------------------------------------------------*/


nav.navigation {
	clear: both;
	text-align: right;
}
nav.navigation .nav-links > * {
	display: inline-block;
	margin-right: 1.5em;
}
nav.navigation .nav-links > *:last-child {
	margin-right: 0;
}





/*----------------------------------------------------------------------------------------------------*\
	widgets
\*----------------------------------------------------------------------------------------------------*/


.widget > ul,
.widget > ol { 
	margin: 0; 
	}
.widget li { margin-bottom: 0.75em; }
.widget li:last-of-type { margin-bottom: 0; }
.widget li > ul { margin-top: 0.75em; } /* compensates missing margin when containing a child-ul */

.widget .widget-footer { 
	margin-top: 1.5em;
	margin-bottom: 0;
	}





/*----------------------------------------------------------------------------------------------------*\
	forms
\*----------------------------------------------------------------------------------------------------*/


input[type=text] {
	height: 2.3rem;
	width: 100%;
}



/*---------------------------------------------------------------------------------------------------- anmeldeformular */

/*
.street, .plz, .city { margin-bottom: 0.75em; }

.screenReader { display: none; }
ul.forms { margin: 0; padding: 0; }
ul.forms li { margin-bottom: 1.5em;}
ul.forms input, ul.forms textarea { width: 100%; }
ul.forms textarea { height: 6em; }
ul.forms input:focus, ul.forms textarea:focus { background-color: #eee; border-color: #bf3a3a; }
.error { color: #bf3a3a; font-weight: 400;}
ul.forms li.screenReader { margin-bottom: 0; }
ul.forms li.inline input { width: auto; margin-right: 1em; }
button { float: right; }
*/

.screenReader { display: none; margin-bottom: 0; }
input, 
textarea { width: 100%; }
textarea { height: 6em; }
input:focus, 
textarea:focus { background-color: #eee; border-color: #bf3a3a; }
.error { color: #bf3a3a; font-weight: 400;}
button { float: right; }





/*----------------------------------------------------------------------------------------------------*\
	CUSTOM
\*----------------------------------------------------------------------------------------------------*/


section.index {
	padding-top: 0.75em !important;
	margin-bottom: 0.75em !important;
}
section.index a.current {
	font-weight: 700;
}


/* header */
header div { 
	float: right;
	width: 20em;
	}
header div a img,
header div a svg {
	width: 100%;
	max-width: 100%;
	display: block;
}
body:not(.page-template-page-start) header div { 
	padding: 1.5em 3em 0 3em;
	height: 10em;
	}
.page-template-page-start header div { 
	padding: 3em;
	max-width: 50%;
	}

/*
header div { padding: 0 3em; }
*/





/* widgets */
.widget ul,
.widget li {
	margin: 0 !important;
	}
.widget li a {
	display: block;
	padding: 0.375em 0.75em;
	}

.widget ul.children ul.children a { padding-top: 0.25em !important; padding-bottom: 0 !important; }
.widget ul.children ul.children:last-child a { padding-bottom: 0.25em !important; }
.widget ul.children ul.children a { padding-left: 2.25em; }
.widget ul.children ul.children ul.children a { padding-left: 3em; }
.widget ul.children ul.children ul.children ul.children a { padding-left: 3.75em; }





/* search-widget */
.widget_search {
	padding-top: 0 !important;
	margin-bottom: 0;
	}
#searchform #s {
	background: url(img/search.svg) no-repeat 0.75em 50%;
	padding-left: 2.5em;
	border: none;
	}
#searchform #s:focus { 
	outline: none;
	background: #fff3d0 url(img/search.svg) no-repeat 0.75em 50%;
	}
#searchform label, #searchsubmit {
	display: none;
}





form#newsfilter,
form#eventfilter {
	padding-top: 0.75em;
	margin-bottom: 0.75em;
	text-align: right;
}



/* commentform */
/* 				dark		default		bright		halfbright */
/* gruen		5f8931		7fb741		e5f1d9		d4e6c3		landesheimatbund */

article#commentform {
	background-color: #e5f1d9;
	padding: 0 0.75em 0.75em 0.75em;
}
article#commentform p {
	margin-bottom: 0.375em;
}
article#commentform input,
article#commentform textarea {
	font-family: "Alegreya Sans", sans-serif;
	font-size: 1em;
	font-weight: 300;
	letter-spacing: 0.05em;
}
article#commentform input {
	border: none;
	padding: 0 0.75em;
	display: block;
}
article#commentform textarea {
	border: none;
	padding: 0.75em;
	display: block;
}
article#commentform #submit {
	cursor: pointer;
	color: #fff;
	background-color: #7fb741;
	padding: 0.75em;
}
article#commentform input:focus,
article#commentform textarea:focus { 
	outline: none;
	background-color: #fff;
	}
article#commentform #submit:hover,
article#commentform #submit:focus {
	background-color: #5f8931;
}





.widget.fluxus_journalwidget {
	margin-bottom: 1.5em;
}



.fluxus_buttonlink__text,
.fluxus_buttonlinkurl__text {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.widget.fluxus_buttonlink {
	border-top: none;
	padding-top: 0;
	margin-bottom: 0;
}
.widget.fluxus_buttonlinkurl {
	border-top: none;
	padding-top: 0;
	margin-bottom: 0;
}
.widget_search {
	margin-top: 3em !important;
}



.widget.fluxus_buttonlink a,
.widget.fluxus_buttonlinkurl a {
	display: block;
	padding: 0.75em;
	color: #fff;
}



/* default */
.widget.fluxus_buttonlink a {
	background: #7fb741;
	border-top: 0.5em solid #5f8931;
}
.widget.fluxus_buttonlink a:hover {
	background: #5f8931;
	border-top: 0.5em solid #7fb741;
}



.fluxus_buttonlink a[href*="newsletter"] { 
	background: #f2e4bb; 
	border-top: 0.5em solid #bf930f;
	color: #bf930f;
	}
.fluxus_buttonlink a[href*="newsletter"]:hover { 
	background: #bf930f; 
	border-top: 0.5em solid #f2e4bb;
	color: #fff;
	}




/* 			dark		default		bright		halfbright */
/* blau		2c6191		3a81c1		dfecf7		c7daeb		mitgliederportal */


/*
.widget.fluxus_buttonlinkurl a[href*="baum"] {
	background: #3a81c1; 
	border-top: 0.5em solid #2c6191;
}
.widget.fluxus_buttonlinkurl a[href*="baum"]:hover {
	background: #2c6191; 
	border-top: 0.5em solid #3a81c1;
}



.widget.fluxus_buttonlinkurl a[href*="muga"] {
	background: #3a81c1; 
	border-top: 0.5em solid #2c6191;
}
.widget.fluxus_buttonlinkurl a[href*="muga"]:hover {
	background: #2c6191; 
	border-top: 0.5em solid #3a81c1;
}
.widget.fluxus_buttonlinkurl a[href*="muga"] {
	hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
}
*/



.widget.fluxus_buttonlinkurl a {
	background: #3a81c1; 
	border-top: 0.5em solid #2c6191;
}
.widget.fluxus_buttonlinkurl a:hover {
	background: #2c6191; 
	border-top: 0.5em solid #3a81c1;
}


.widget.fluxus_buttonlinkurl a[href*="muga"] {
	hyphens: auto;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
}




/*
.widget.fluxus_buttonlink { margin-bottom: 1.5em; }
.widget.fluxus_buttonlink + .widget.fluxus_buttonlink { margin-bottom: 3em; }
*/













/* newsletter-from */
label[for="listsselectall"] {
	display: none !important;
}
label[for="listsselectall"] + div:before {
	content: "Welche Inhalte möchten Sie erhalten?";
	display: block;
	margin-bottom: 0.75em;
}

















.contentgallerymasonry {
  width: calc(100% + 0.75rem);
}
.contentgallerymasonry__item {
  padding: 0 0.75rem 0 0;
  margin: 0 0 0.75rem 0;
}
@media (min-width: 1200px) {
  .contentgallerymasonry__item--1columns {
    width: 100%;
  }
  .contentgallerymasonry__item--2columns {
    width: 50%;
  }
  .contentgallerymasonry__item--3columns {
    width: 33.33%;
  }
  .contentgallerymasonry__item--4columns {
    width: 25%;
  }
  .contentgallerymasonry__item--5columns {
    width: 20%;
  }
  .contentgallerymasonry__item--6columns {
    width: 16.66%;
  }
  .contentgallerymasonry__item--7columns {
    width: 14.28%;
  }
  .contentgallerymasonry__item--8columns {
    width: 12.5%;
  }
  .contentgallerymasonry__item--9columns {
    width: 11.11%;
  }
}
@media (max-width: 1200px) {
  .contentgallerymasonry__item--1columns {
    width: 100%;
  }
  .contentgallerymasonry__item--2columns {
    width: 50%;
  }
  .contentgallerymasonry__item--3columns, .contentgallerymasonry__item--4columns, .contentgallerymasonry__item--5columns, .contentgallerymasonry__item--6columns, .contentgallerymasonry__item--7columns, .contentgallerymasonry__item--8columns, .contentgallerymasonry__item--9columns {
    width: 33.33%;
  }
}
@media (max-width: 1000px) {
  .contentgallerymasonry__item--1columns {
    width: 100%;
  }
  .contentgallerymasonry__item--2columns {
    width: 50%;
  }
  .contentgallerymasonry__item--3columns {
    width: 33.33%;
  }
  .contentgallerymasonry__item--4columns {
    width: 25%;
  }
  .contentgallerymasonry__item--5columns {
    width: 20%;
  }
  .contentgallerymasonry__item--6columns {
    width: 16.66%;
  }
  .contentgallerymasonry__item--7columns {
    width: 14.28%;
  }
  .contentgallerymasonry__item--8columns {
    width: 12.5%;
  }
  .contentgallerymasonry__item--9columns {
    width: 11.11%;
  }
}
@media (max-width: 640px) {
  .contentgallerymasonry__item--1columns {
    width: 100%;
  }
  .contentgallerymasonry__item--2columns, .contentgallerymasonry__item--3columns, .contentgallerymasonry__item--4columns, .contentgallerymasonry__item--5columns, .contentgallerymasonry__item--6columns, .contentgallerymasonry__item--7columns, .contentgallerymasonry__item--8columns, .contentgallerymasonry__item--9columns {
    width: 50%;
  }
}
.contentgallerymasonry__link {
  display: block;
}
.contentgallerymasonry__img {
  display: block;
  width: 100%;
  height: auto;
}
.contentgallerymasonry__caption {
  display: block;
  clear: both;
  width: 100%;
  font-size: 0.75em;
  line-height: 2em;
  margin: 0;
  border-bottom: 1px solid #ddd;
}