/*
Theme Name: Zentralrat
Theme URI: http://underscores.me/
Author: Christian Rüggeberg
Author URI: http://arkonisus.de
Description: Description
Version: 1.7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zentralrat
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Zentralrat is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Asides
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/* used Google Fonts 
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Titillium Web', sans-serif;
font-family: 'EB Garamond', serif;
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	/*-webkit-font-smoothing: antialiased;*/
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

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

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

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

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

.entry-header h1 {
	margin-top: 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	/*margin: 1em 40px;*/
	margin: 0.5em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type='checkbox'],
input[type='radio'] {
	box-sizing: border-box;
	padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
	height: auto;
}

input[type='search'] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body {
	/*    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;*/
}

body,
button,
input,
select,
textarea {
	color: #202020;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	/*clear: both;*/
	font-family: 'Titillium Web', sans-serif;
	font-weight: bold;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: 'Courier 10 Pitch', Courier, monospace;
	font-size: 15px;
	font-size: 0.9375em;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
	font-size: 15px;
	font-size: 0.9375em;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

:target {
	border: 0; /* hash-target */
}

body {
	background: #fff; /* Fallback */
}

h1 {
	font-size: 1.5em;
	line-height: 1.3em;
}

.page-header h1 {
	margin-top: 0;
}

h2 {
	font-size: 1.125em;
	line-height: 1.5em;
}

.loop h2 {
	margin: 0;
}

h3 {
	color: #c6103d;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
}

blockquote,
q {
	/*quotes: "" "";*/
	font: 300 italic 16px/24px 'EB Garamond', serif;
	color: #c6103d;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5),
		inset 0 15px 17px rgba(255, 255, 255, 0.5),
		inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75em;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8),
		inset 0 15px 17px rgba(255, 255, 255, 0.8),
		inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type='button']:focus,
input[type='reset']:focus,
input[type='submit']:focus,
button:active,
input[type='button']:active,
input[type='reset']:active,
input[type='submit']:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5),
		inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
textarea:focus {
	color: #111;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.site {
	font: 300 15px/21px 'Source Sans Pro', sans-serif;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-branding {
	margin: 0;
	padding: 0;
	text-align: center;
}

.site-title a {
	font: normal 39px/45px 'Times New Roman', serif;
	text-decoration: none;
	text-transform: uppercase;
	color: #000 !important;
}

h1.site-title,
p.site-title {
	text-align: center;
	padding: 0;
	margin: 41px 0 72px 0;
}

.logo {
	display: block;
	margin: 33px 0 42px 0;
}

.logo img {
	max-height: 50px;
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #c6103d;
}

a:visited {
	/*color: purple;*/
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
	text-decoration: none;
	color: inherit;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

#topbar {
	width: 100%;
	height: 32px;
	background: #b8b8b9;
}

#top-navigation {
	font: normal 13px/32px 'Source Sans Pro', sans-serif;
	vertical-align: middle;
	color: #fff;
}

#top-navigation a {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}

#top-navigation .nav-search {
	width: 240px;
}

#top-navigation .nav-search input {
	width: 100%;
	height: 21px;
	font: normal 13px 'Source Sans Pro', sans-serif;
	padding: 0 7px;
	border: 0;
	background: #fff;
}

/* Main-Menu*/
#primary-menu {
	display: flex;
}

#btn-menu {
	display: none;
}

.main-navigation {
	clear: both;
	display: block;
	width: 100%;
	margin-bottom: 25px;
}

.main-navigation ul {
	display: flex;
	/* display: table; */
	/* width: auto; */
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	flex-grow: 1;
	/* display: table-cell; */
	/* table-layout: fixed; */
	/* padding: 0 60px 10px 60px; */
	padding-left: clamp(15px, 3vw, 60px);
	padding-right: clamp(15px, 3vw, 60px);
	padding-bottom: 10px;
	border-left: 1px solid #b8b8b9;
	margin: 0 auto;
}

.main-navigation li:first-child {
	padding-left: 0;
	border-left: 0;
}

.main-navigation a {
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation ul ul li.current-menu-item a,
.main-navigation ul ul li.current_page_item a,
.main-navigation ul ul li.current_page_ancestor a {
	color: #c6103d;
}

.main-navigation ul li a {
	font: bold 16px 'Source Sans Pro', sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #000;
}

.main-navigation ul ul {
	display: block;
	margin-top: 2px;
}

.main-navigation ul ul li {
	display: block;
	line-height: 20px;
	padding: 0;
	border: 0;
}

.main-navigation ul ul li a {
	font: normal 14px 'EB Garamond', serif;
	text-transform: none;
	letter-spacing: normal;
	color: #4b4b4a;
	padding: 0;
}

.slicknav_menu {
	display: none;
}

.tinynav {
	display: none;
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* Pagination */
.nav-links {
	margin: 20px 0 50px;
}

.page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 1px solid #b8b8b9;
	line-height: 1;
	font-weight: 300;
}

a.page-numbers {
	color: #000;
	text-decoration: none;
}
.page-numbers.current,
a.page-numbers:hover {
	color: #fff;
	background: #c6103d;
	border-color: #c6103d;
}


/* Breadcrumb */
.breadcrumb a {
	color: #000;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #c6103d;
}

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

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875em;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex='-1']:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
	margin-bottom: 0.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
	margin-bottom: 0.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 10px;
}

/* Make sure select elements fit in widgets. */
.widget select {
	max-width: 100%;
}

h2.widget-title {
	font: normal 12px/18px 'Source Sans Pro', sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 2px 30px 2px 0;
	background: url(images/back_widgettitle.png) no-repeat right top;
}

h2.widget-title a {
	font: inherit !important;
}

h2.widget-title:first-child {
	margin-top: 0;
}

.widget a {
	font: bold 15px/20px 'Titillium Web', sans-serif;
	color: inherit;
	text-decoration: none;
}

.widget a:hover {
	text-decoration: underline;
}

.widget ul {
	margin: 0;
	padding: 5px 0 30px;
	list-style: none;
}

.widget li {
	margin: 20px 0 4px 0;
}

.widget li:first-child {
	margin-top: 4px;
}

.widget div.textwidget {
	margin: 0;
	padding: 4px 0 12px;
}

.widget blockquote {
	margin: 0;
}

.widget blockquote p {
	margin-top: 8px;
}

/* ----- Home Events-Widget ----- */
.aef-events {
	font: 300 15px/21px 'Source Sans Pro', sans-serif;
	color: #202020;
	padding: 0;
	margin: 0 0 50px;
	background: transparent;
	border: 0;
}

.aef-events h3 {
	font: normal 12px/18px 'Source Sans Pro', sans-serif;
	letter-spacing: 2px;
	color: #202020;
	text-transform: uppercase;
	padding: 2px 30px 2px 0;
	background: url(images/back_widgettitle.png) no-repeat right top;
}

.aef-events .item {
	font-weight: bold;
	margin-top: 20px;
	margin-bottom: 0;
}

.aef-events .description strong {
	font-weight: 300;
}

.aef-events .item a {
	font-weight: normal;
	text-decoration: none;
}


/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

#masthead {
	border-bottom: 5px solid #c6103d;
}

#content {
	padding-top: 50px;
	min-height: 500px;
}

#primary {
	float: left;
	width: 100%;
	max-width: 744px;
}

#secondary {
	float: right;
	width: 276px;
}

#colophon {
	height: 280px;
	font: 300 14px/20px 'Source Sans Pro', sans-serif;
	color: #fff;
	background: #c6103d;
	padding-top: 50px;
}

.home #colophon,
.archive #colophon {
	margin-top: 40px;
}

#footercontent .col {
	display: inline-block;
	vertical-align: top;
	height: 144px;
	padding: 0 20px;
	border-left: 1px solid #fff;
}

#footercontent .col:first-child {
	padding-left: 0;
	padding-right: 20px;
	border: 0;
}

#footercontent .col:last-child {
	padding-right: 0;
}

#footercontent .col h4 {
	font: bold 16px/18px 'Source Sans Pro', sans-serif;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: #fff;
	padding: 0;
	margin: 0;
}

#footercontent a.logo {
	display: inline-block;
	overflow: hidden;
	background-repeat: no-repeat;
	background-image: url(images/footerlogos.png);
	margin-top: 8px;
	margin-right: 10px;
	margin-bottom: -10px;
}

#footercontent a.logo:hover {
	opacity: 0.5;
}

#footercontent a.fb {
	width: 47px;
	height: 52px;
	background-position: -499px -2px;
}
#footercontent a.tw {
	width: 47px;
	height: 52px;
	background-position: -548px -2px;
}
#footercontent a.yt {
	width: 47px;
	height: 52px;
	margin-left: -1px;
	margin-bottom: -16px;
	background-image: url(images/btn_yt.png);
}
#footercontent a.prize {
	width: 255px;
	height: 55px;
	margin-right: 30px;
	background-position: -2px -2px;
}
#footercontent a.doku {
	width: 195px;
	height: 70px;
	margin-left: -5px;
	background-image: url(images/logo_dokuz_3z.png);
	background-size: contain;
}
#footercontent a.bifo {
	width: 81px;
	height: 44px;
	margin-bottom: 5px;
	background-image: url(images/logo_bifo.png);
}
#footercontent a.bkm {
	width: 197px;
	height: 62px;
	margin-top: 22px;
	background-image: url(images/logo_bkm_weiss.svg);
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.loop {
	/*height: 270px;*/
	/*padding: 0 0 70px;*/
	padding: 45px 0;
	margin: 0;
	background: url(images/linie2.png) repeat-x bottom left;
}

.loop:first-child {
	padding-top: 0;
}

.loop:last-child {
	background: none;
	padding-bottom: 100px;
}

.loop-small {
	border-bottom: 1px dotted #b8b8b9;
}

.loop-small .teasertext {
	margin-left: 0 !important;
}

.loop-small .entry-title {
	margin-top: 0;
}

.loop-small:last-child {
	border: none;
}

.search-results .entry-title {
	margin: 0;
}

.search-results .entry-summary {
	border-bottom: 1px dotted #b8b8b9;
}

.search-results .entry-summary p:first-child {
	margin-top: 0;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	/*margin: 1.5em 0 0;*/
}

.single .entry-subtitle {
	font-size: 16px;
	margin-top: -12px;
	margin-bottom: 16px;
}

.loop .entry-content {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.loop .thumb {
	float: left;
	width: 260px;
	height: 180px;
	margin-right: 30px;
	background: #f5f5f6 url(images/dummy.png) no-repeat center center;
}

.loop .teasertext {
	margin-left: 290px;
}

.entry-header .entry-meta {
	font: normal 13px 'EB Garamond', serif;
	color: #c6103d;
}

.entry-header .entry-meta a {
	font: inherit;
	color: inherit;
	text-decoration: none;
}

.meta-sep {
	padding: 0 5px;
}

.loop .entry-subtitle {
	font-size: 15px;
	font-style: italic;
	margin-top: 2px;
	margin-bottom: 0;
}

.loop .entry-content p {
	margin-top: 8px;
}

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

a.moretag {
	font: normal 14px 'EB Garamond', serif;
	color: #c6103d;
	text-decoration: none;
	padding-right: 12px;
	background: url(images/morepfeil.png) no-repeat right center;
}

.entry-footer {
	padding-top: 20px;
}

.entry-footer a {
	text-decoration: none;
}

.entry-footer a:hover {
	text-decoration: underline;
}

/* Pressebereich */
.loop.category-pressebereich,
.loop.category-press-area {
	height: auto;
	/*padding-bottom: 50px;*/
	/*margin-bottom: -20px;*/
	padding-top: 0;
	padding-bottom: 25px;
	margin-bottom: 40px;
}

.loop.category-pressebereich .entry-content,
.loop.category-press-area .entry-content {
	position: relative;
}

.loop.category-pressebereich .teasertext,
.loop.category-press-area .teasertext {
	margin-left: 0;
}

.loop.category-pressebereich .download-attachments,
.loop.category-press-area .download-attachments {
	margin-top: 0;
}

.loop.category-pressebereich input.ngg-download-everything,
.loop.category-press-area input.ngg-download-everything {
	position: absolute;
	right: 0;
	bottom: 29px;
	box-shadow: none;
	background: url(images/downpfeil.png) no-repeat right center;
	font: 400 12px/16px 'Source Sans Pro', sans-serif;
	color: #c6103d;
	border: none;
	padding: 12px 25px 0 0;
}

.loop.category-pressebereich input.ngg-download-everything:hover,
.loop.category-press-area input.ngg-download-everything:hover {
	opacity: 0.5;
}

/*--------------------------------------------------------------
## Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 0.5em;
	max-width: 100%;
}

.wp-caption img[class*='wp-image-'] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.5em 0;
}

.wp-caption-text {
	font-style: italic;
	font-weight: 300;
	text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Helpers
--------------------------------------------------------------*/
.hideme {
	display: none;
}

.space10 {
	padding: 0 10px;
}

/*--------------------------------------------------------------
## Widgets
--------------------------------------------------------------*/
.widget a:hover {
	color: #c6103d;
}

.cat-post-widget li {
	/*font-weight: bold;*/
}

.widget-area embed,
.widget-area iframe,
.widget-area object,
.widget-area video {
	width: auto;
	height: auto;
}

.widget_media_video,
.widget_media_audio {
	margin-bottom: 30px;
}

.widget_media_video iframe {
	width: 100%;
	height: 100%;
}

/* Unternavigation Seiten / TOC+ */
.dynamicSubpageWidget a,
.toc_widget_list a {
	font-weight: 300;
	padding-left: 13px;
	background: url(images/morepfeil.png) no-repeat left center;
}

.dynamicSubpageWidget a:hover,
.toc_widget_list a:hover,
.dynamicSubpageWidget .current_page_item a {
	color: #c6103d;
}

.entry-content #toc_container {
	display: none;
}

/*--------------------------------------------------------------
## Sidebar Puiblikationen
--------------------------------------------------------------*/
aside#bottom {
	clear: both;
}

.cat-publications-widget .container {
	margin-top: 20px;
	background: #f6f6f6;
	margin-bottom: 50px;
}

.cat-publications-widget li {
	float: left;
	width: 270px;
	min-height: 550px;
	background: #f6f6f6;
	padding: 25px;
	margin-top: 0 !important;
	/*margin-bottom: 50px;*/
	overflow: hidden;
}

.cat-publications-widget .thumb {
	width: 220px;
	height: 260px;
	background: #ededed url(images/dummy.png) no-repeat center center;
	margin-bottom: 10px;
}

.cat-publications-widget .entry-meta {
	font: normal 13px 'EB Garamond', serif;
	color: #c6103d;
}

.cat-publications-widget h3 {
	font-weight: bold;
	font-size: 14px;
	line-height: 18px;
	color: #000;
	margin: 0 0 6px;
}

.cat-publications-widget p {
	margin: 0;
}

.cat-publications-widget .clear {
	clear: left;
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
	.cat-publications-widget .container {
		background: none;
		margin-bottom: 0;
	}

	.cat-publications-widget li {
		width: 100%;
		margin-bottom: 30px;
		min-height: auto;
	}

	.cat-publications-widget li .thumb {
		width: 100%;
		height: auto;
	}

	.cat-publications-widget li .thumb a {
		float: left;
		width: 100%;
	}

	.cat-publications-widget li .thumb img {
		width: 100%;
	}
}

/*--------------------------------------------------------------
## Social
--------------------------------------------------------------*/
.toolbar-social {
	float: right;
	width: 285px;
	height: 30px;
	margin: 30px 0 20px 0;
	vertical-align: bottom;
	text-align: right;
}

.toolbar-social a {
	display: inline-block;
	height: 30px;
	color: #000;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	padding: 6px 20px 5px 30px;
}

.toolbar-social a:hover {
	opacity: 0.5;
}

.toolbar-social a:last-child {
	padding-right: 0;
}

.toolbar-social .btn-mail {
	background: url(images/btn_mail.png) no-repeat left center;
}

.toolbar-social .btn-twitter {
	background: url(images/btn_twitter.png) no-repeat left center;
}

.toolbar-social .btn-facebook {
	background: url(images/btn_facebook.png) no-repeat left center;
}

/*--------------------------------------------------------------
## Accordion
--------------------------------------------------------------*/
h3.accordion-title {
	background: url(images/updown.png) no-repeat left top;
	padding: 4px 0 4px 20px;
	margin: 0;
	border-bottom: 1px dotted #b8b8b9;
	cursor: pointer;
}

h3.accordion-title:hover {
	text-decoration: underline;
}

h3.accordion-title.open {
	background-position: left bottom;
}

.accordion-content {
	/*margin: 10px 0 15px 0;*/
	padding: 0 20px;
}

/*--------------------------------------------------------------
## Downloads
--------------------------------------------------------------*/
.download-attachments {
	display: inline;
	float: left;
	margin: 30px 0 20px 0;
}

.download-attachments ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.download-attachments li {
	display: inline-block;
	margin-right: 12px;
}

.download-attachments li:hover {
	opacity: 0.5;
}

.download-attachments li img {
	vertical-align: middle;
}

.download-attachments li a {
	color: #000;
	padding: 0 6px;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
}

/*--------------------------------------------------------------
## Events Calendar
--------------------------------------------------------------*/
.css-events-list .em-pagination {
	clear: left;
	display: block;
	padding-top: 15px;
}

.eventlist {
	clear: both;
	float: left;
	margin-bottom: 10px;
}

.eventlist .datebox {
	clear: left;
	float: left;
	width: 80px;
	border: 1px solid #e7e7e7;
	border-top-width: 10px;
	margin: 0 15px 15px 0;
}

.eventlist .datebox span {
	display: block;
	padding: 2px;
	text-align: center;
}

.eventlist .datebox .day {
	font-size: 3em;
	font-weight: bold;
	padding: 5px 2px;
}

.eventlist .description {
	float: left;
	max-width: 640px;
}

.eventlist .title {
	font-weight: bold;
	font-size: 18px;
	line-height: 24px;
}

/* widget */
.widget_em_widget a,
#text-7 .textwidget a {
	font-weight: normal;
	color: #c6103d;
}

.widget_em_widget .date {
	color: #c6103d;
}

.widget_em_widget .shortlist {
	margin-top: 10px;
	padding-bottom: 10px;
	/* background: url(images/linie2.png) repeat-x bottom left; */
}

#em_widget-4 {
	margin-bottom: -32px; /* last em-widget! */
}

.widget_em_widget .all-events-link a,
.widget_text .all-events-link a {
	font-size: 14px;
}

/* search form */
div.em-events-search {
	text-align: center;
	background: #f6f6f6;
	padding: 10px;
	min-height: auto;
	margin: -20px 0 30px 0;
}

.em-search .em-date-input-loc {
	width: 80px;
	padding: 0 5px;
	margin: 0 5px;
}

.em-search .em-events-search-category {
	margin: 0 5px;
	width: 150px;
}

div.em-search.css-search div {
	display: inline-block;
}

div.css-search select {
	padding: 2px 5px;
}

div.em-search .em-search-field {
	margin: 0 5px 0 0;
}

div.em-search .em-search-submit {
	margin: 0;
	background: #c6103d;
	color: #fff;
	font-weight: bold;
	border: 0;
	text-shadow: none;
	box-shadow: none;
}

div.em-search .em-search-submit:hover {
	opacity: 0.5;
}

.ui-datepicker {
	display: none;
}

/* Detail */
.em-location-map-outer {
	float: right;
	margin: 0px 0px 15px 15px;
}

@media only screen and (min-width: 320px) and (max-width: 480px) {
	.eventlist {
		float: left;
		margin-bottom: 40px;
	}

	.eventlist .datebox {
		float: none;
		margin-bottom: 5px;
	}

	.em-location-map-outer {
		float: none;
		margin-left: 0;
		width: 100%;
	}

	.em-location-map-container {
		width: 100% !important;
	}
}

/*--------------------------------------------------------------
## Connected Content
--------------------------------------------------------------*/
.connected-content {
	clear: both;
	padding-top: 30px;
}

.connected-content h2.widget-title {
	margin-bottom: 0;
}

.connected-content .eventlist:first-child {
	margin-top: 40px;
}

/*--------------------------------------------------------------
## NextGen Gallery
--------------------------------------------------------------*/
div.ngg-gallery-thumbnail-box {
	margin-right: 0;
}

div.ngg-gallery-thumbnail-box .ngg-gallery-thumbnail img {
	margin: 0 20px 20px 0;
	padding: 0;
}

/*--------------------------------------------------------------
## Royal-Slider
--------------------------------------------------------------*/
.royalSlider {
	margin-top: 7px;
}

.royalSlider.rsDefaultInv,
.royalSlider.rsDefaultInv .rsOverflow,
.royalSlider.rsDefaultInv .rsSlide {
	background: transparent;
}

.royalSlider .rsDescription {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	font: italic 300 14px/20px 'Source Sans Pro', sans-serif;
	text-align: center;
	padding-top: 7px;
	background: #fff;
}

@media all and (max-width: 480px) {
	.royalSlider {
		height: 260px !important;
	}
}

/*--------------------------------------------------------------
## Media Queries
--------------------------------------------------------------*/

@media only screen and (max-width: 959px) {
	#colophon {
		height: auto;
		padding-bottom: 50px;
	}

	#footercontent .col {
		margin-bottom: 40px;
	}
}

@media only screen and (max-width: 767px) {

	.site-branding {
		position: relative;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		text-align: left;
		margin: 20px 0;
	}

	.logo {
		margin: 0;
	}

	.logo img {
		max-width: 60vw;
		max-height: unset;
	}
	
	#btn-menu {
		display: block;
		width: 32px;
		height: 32px;
		background: url(images/btn-hamburger.svg) no-repeat center;
		background-size: cover;
		transition: all 0.15s ease-in-out;
		outline: unset;
	}

	#btn-menu.open {
		background-image: url(images/btn-hamburger-close.svg);
	}

	#site-navigation {
		display: none;
	}
	
	.main-navigation ul {
		flex-wrap: wrap;
		margin-bottom: 30px;
	}

	.main-navigation ul.menu > li {
		padding-left: clamp(15px, 3vw, 60px);
		border-left: 1px solid #b8b8b9;
	}

	.main-navigation li {
		width: 50%;
		padding: 0;
		margin: 0;
		border: 0;
	}

}

@media only screen and (max-width: 480px) {
	#topbar {
		height: 64px;
	}

	#top-navigation {
		padding-top: 6px;
		line-height: 24px;
	}

	#top-navigation .nav-search {
		width: 40%;
	}

	.main-navigation ul {
		flex-direction: column;
	}

	.main-navigation li {
		width: 100%;
	}

	.nav-extra {
		clear: left;
		float: left;
		margin: 0;
		padding: 0;
	}

	.nav-extra .space10 {
		padding: 0 7px;
	}

	.logo {
		margin: 30px 0;
	}

	#content {
		min-height: auto;
	}

	.loop {
		height: auto;
		padding: 30px 0;
	}

	.loop:last-child {
		padding-bottom: 70px;
	}

	.loop .thumb {
		float: none;
		width: 100%;
		height: auto;
		padding: 0;
		margin-right: 0;
	}

	.loop .thumb a {
		float: left;
		width: 100%;
	}

	.loop .thumb img {
		width: 100%;
		height: auto;
		margin: 0;
	}

	.loop .teasertext {
		clear: both;
		display: block;
		margin: 20px 0 0 0;
	}

	#secondary {
		/*display: none;*/
		width: 100%;
	}

	#footercontent .col {
		border: 0;
		padding: 0 10px;
	}

	#footercontent .col:first-child,
	#footercontent .col:last-child {
		display: none;
	}

	.entry-content table img {
		width: 50%;
	}
}
