/*!
Theme Name: refmedien
Theme URI: http://www.reformierte-medien.ch
Author: Sam Krucker
Author URI: http://underscores.me
Description: Description
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: refmedien
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

refmedien is based on Underscores https://underscores.me/, (C) 2012-2020 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 https://necolas.github.io/normalize.css/
*/

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

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

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.9375rem;
	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.9375rem;
}

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

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

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

body {
	background: #fff;
}

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: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

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;
	color: rgba(0, 0, 0, 0.8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

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;
	padding: 3px;
}

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;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
/*
	display: block;
	width: 100%;
*/
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

/*
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}
*/

.main-navigation a {
/*
	display: block;
	text-decoration: none;
*/
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

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

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.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;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

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

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

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

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

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

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

.post,
.page {
	margin: 0;
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

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

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.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%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.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.8075em 0;
}

.wp-caption-text {
	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;
}





/*--------------------------------------------------------------
## Reformierte Medien - refmedien - Template
--------------------------------------------------------------*/

@font-face {
	font-family: Chap;
	font-weight: 700;
	src: url(fonts/Chap.eot);
	src: url(fonts/Chap.eot?#iefix) format("embedded-opentype"), url(fonts/Chap.woff) format("woff");
}

body {
	font-family: "Mercury Text G1 A", "Mercury Text G1 B", Georgia, Times, serif;
	font-style: normal;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1,h2,h3,h4 {
	font-family: "Mercury Text G3 A", "Mercury Text G3 B", Georgia, Times, serif;
	font-style: normal;
	font-weight: 700;
	margin: 0 0 1.25rem;
}
h2 {
	font-size: 1.5rem;
	line-height: 1.15;
	font-weight: 600;
	margin: 0 0 0.5rem;
}
h4 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 1.1rem;
	line-height: 1.25;
	color: #D7002E;
	text-align: center;
}
h5 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
	margin: 0 0 0.5rem;
	color: #bbb;
}

p {
/*
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
*/
	font-size: 1.1rem;
	line-height: 1.35;
	margin: 0 0 0.85rem;
}
p > a {
	text-decoration: underline;
}
article p {
	margin: 0 0 1.25rem;
}
body.page p{
	line-height: 1.5;
}

label {
	margin-bottom: 0;
}

a, a:hover, a:visited {
	text-decoration: none;
	color: #454545;
}

figcaption {
	text-align: center;
}

.page-id-244 a,
.page-id-426 a {
	text-decoration: underline;
	color: #222;
}
.page-id-244 h4,
.page-id-426 h4 {
	font-family: "Mercury Text G3 A", "Mercury Text G3 B", Georgia, Times, serif;
	font-style: normal;
	font-weight: 700;
	margin: 0 0 1.25rem;
	color: #404040;
	text-align: left;
}


/***
** Template: Landingpage rp-landing.php
** und Error Seite / allgemein
*/
body.home > div#page .site-branding,
body.page > div#page .site-branding,
body.single > div#page .site-branding {
	/* IE Kompatibilität */
	-ms-grid-column: 3;
	-ms-grid-row: 2;
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 2/3;
	justify-self: start;
	align-self: end;
}

body.home > div#page #site-navigation,
body.page > div#page #site-navigation,
body.single > div#page #site-navigation {
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 2/3;
	justify-self: end;
	align-self: end;
}
body.home > div#page .site-header-login,
body.page > div#page .site-header-login,
body.single > div#page .site-header-login {
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 2/3;
	justify-self: end;
	align-self: start;
	/* Style */
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
}
.site-header-login a {
	color: #ccc;
}
body.home > div#page > header,
body.page > div#page > header,
body.single > div#page > header {
	/* IE Kompatibilität */
	-ms-grid-column: 3;
	-ms-grid-row: 2;
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 2/3;
}
body.home > div#page > div#content,
body.page > div#page > div#content,
body.single > div#page > div#content {
	/* IE Kompatibilität */
	-ms-grid-column: 3;
	-ms-grid-row: 4;
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 4/5;
}
body.home > div#page > #site-footer-background,
body.page > div#page > #site-footer-background,
body.single > div#page > #site-footer-background {
	/* IE Kompatibilität */
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  -ms-grid-row: 6;
  -ms-grid-row-span: 3;
	/* Real Browsers */
  grid-column: 1/6;
  grid-row: 6/9;
	/* Style */
  background-color: #b5b7c3; /* logo grau */;
}
.site-footer-wrapper {
	display: inline-block;
	/* text-align: left; */
}
.site-header-navigation,
.site-footer-navigation {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.25;
	color: #fff;
	text-align: left;
}
.site-header-navigation a {
	color: #D7002E;
	margin-left: 15px;
}
.site-footer-navigation a {
	color: #fff;
}
.site-footer-kontakt {
	float: right;
	padding-top: 2.1rem;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.25;
	color: #fff;
	text-align: right;
}
body.home > div#page > footer,
body.page > div#page > footer,
body.single > div#page > footer {
	/* IE Kompatibilität */
	-ms-grid-column: 3;
	-ms-grid-row: 7;
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 7/8;
	/* Style */
	text-align: center;
}
body.home > div#page main .link-back,
body.page > div#page main .link-back,
body.single > div#page main .link-back {
	/* IE Kompatibilität */
	-ms-grid-column: 1;
	-ms-grid-row: 1;
	/* Real Browsers */
	grid-column: 1/2;
	grid-row: 1/2;
}
body.home > div#page main .link-back a,
body.page > div#page main .link-back a,
body.single > div#page main .link-back a {
	/* Style */
	font-family: 'Mercury Text G3 A', 'Mercury Text G3 B', Georgia, Times, serif;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.25;
	color: #bbb;
}
body.home > div#page main section,
body.page > div#page main section,
body.page > div#page main article,
body.single > div#page main article {
	/* IE Kompatibilität */
	-ms-grid-column: 1;
	-ms-grid-row: 2;
	/* Real Browsers */
	grid-column: 1/2;
	grid-row: 2/3;
}
body.home > div#page main div.trennlinie,
body.page > div#page main div.trennlinie,
body.single > div#page main div.trennlinie {
	/* IE Kompatibilität */
	-ms-grid-column: 3;
	-ms-grid-row: 2;
	/* Real Browsers */
	grid-column: 3/4;
	grid-row: 2/3;
	/* Style */
	background-color: rgba(0,0,0,0.1);
}
body.home > div#page main aside,
body.page > div#page main aside,
body.single > div#page main aside {
	/* IE Kompatibilität */
	-ms-grid-column: 5;
	-ms-grid-row: 2;
	/* Real Browsers */
	grid-column: 5/6;
	grid-row: 2/3;
	/* Style */
/*	overflow-y: scroll;
	max-height: 100vh; */
}
body.home > div#page main aside p {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 1.1rem;
	line-height: 1.5;
	margin: 0 0 1.25rem;
}


aside ul.wp-block-rss {
	margin: 0;
	padding: 0;
}
aside ul.wp-block-rss {
	list-style-type: none;
}
aside ul.wp-block-rss li {
	margin-bottom: 20px;
	text-align: center;
}
aside ul.wp-block-rss li:nth-child(n+2)::before {
  content: "";
  display: block;
  width: 60%;
  height: 1px;
  margin: 0 auto 28px;
  background-color: #ccc;
}

aside.home {
	text-align: center;
}

.marke-ref-ch {
	display: block;
	text-align: center;
	margin: 25px 0 40px;
}
.marke-ref-ch img {
	height: 35px;
	width: auto;
}

.section-bref {
	padding: 25px 28px 28px;
	border-radius: 5px;
	text-align: center;
}
.section-bref .wp-block-image figure {
	margin: 0 10%;
}
.section-bref .wp-block-media-text__media img {
	border: 1px solid #bbb;
}
.section-radio-tv {
	text-align: center;
}
.marke_bref {
	display: block;
	text-align: center;
	margin-bottom: calc( 37px + 1.4rem );
}
.marke_bref img {
	height: 38px;
	width: auto;
}
.marke-reformiert-jobs {
	font-family: Chap,Georgia,Times,serif;
	font-weight: 700;
	font-size: 2rem;
	line-height: 2rem;
	margin-top: 38px;
	background-image: url("/wp-content/themes/refmedien/images/bg_zuerich.jpg");
	background-size: cover;
	background-position-y: 18%;
	height: 14rem;
	border-radius: 5px;
}
.marke-reformiert-jobs a {
	display: block;
	padding: 1rem 0 5rem 15px;
	color: #fff;
}
.marke-reformiert-jobs::after {
	content: "";
	display: block;
	height: 0;
	margin-top: 6rem;
	background-color: #fff;
	box-shadow: 0px 10px 20px 30px rgba(255,255,255,1);
}


.wp-block-rss__item {
	display: flex;
	flex-direction: column;
	cursor: pointer;
}
.wp-block-rss__item-publish-date {
	order: 1;
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	line-height: 1;
	margin-bottom: .5rem;
	color: #bbb;
}
.wp-block-rss__item-title {
	order: 2;
	font-family: 'Mercury Text G3 A','Mercury Text G3 B',Georgia,Times,serif;
	font-weight: 600;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.15;
	margin-bottom: .5rem;
}
.wp-block-rss__item-author {
	order: 3;
	font-family: 'Roboto', sans-serif;
	font-size: 0.9rem;
	line-height: 1.3;
	margin-bottom: .5rem;
	color: #404040;
}
.wp-block-rss__item-excerpt {
	-webkit-hyphens: auto;
		 -moz-hyphens: auto;
			 -o-hyphens: auto;
			-ms-hyphens: auto;
					hyphens: auto;
	order: 3;
	font-size: 1.1rem;
	line-height: 1.35;
	margin-bottom: .5rem;
}

.wp-block-rss.jobs {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: repeat( auto-fit, minmax( 240px, 1fr ) );
	padding: 14px;
	margin: -5.5rem 0 0;
}
.wp-block-rss.jobs .wp-block-rss__item {
	display: flex;
	padding: 11px;
	border-radius: 5px;
	border: 1px solid #ccc;
	background-color: #fff;
}
.wp-block-rss.jobs .wp-block-rss__item-title {
	flex: 1;
}


.page-template h1,
.page-template h2 {
	text-align: center;
}
.page-template h1::after,
.page-template h2::after {
  content: "";
  display: block;
  width: 30%;
  height: 1px;
  margin: 28px auto 28px;
  background-color: #ccc;
}
.page-template h2::after {
	width: 60%;
}
.page-template h4::before {
  content: "";
  display: block;
  width: 30%;
  height: 1px;
  margin: 28px auto 28px;
  background-color: #ccc;
}

.page-template .wp-block-table a,
aside.verein-downloads a {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	color: #bbb;
}
.page-template .wp-block-table a:hover,
aside.verein-downloads a:hover {
	color: #888;
}

.wp-block-separator {
	margin-top: 3rem;
	margin-bottom: 3.1rem;
	background-color: rgba(0,0,0,0.1);
}
.wp-block-buttons{
	margin-top: 2rem;
}
.wp-block-button {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
	font-size: 1rem;
	width: 100%;
}
.wp-block-button a {
	width: 100%;
}

.page-template .wp-block-columns ul {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}
.page-template .wp-block-columns li {
	padding-bottom: 0.5rem;
}


/*******************************************************************************
 *** Layout Desktop - default
 ******************************************************************************/
body.home > div#page,
body.page > div#page,
body.single > div#page {
	/* IE Kompatibilität
	display: -ms-grid;
	-ms-grid-columns: 25px 1fr 1040px 1fr 25px;
	-ms-grid-rows: 20px 80px 4rem auto 4rem 1rem 200px 2rem;
	/* Real Browsers */
	display: grid;
	grid-template-columns: 50px 1fr minmax(940px, 1040px) 1fr 50px;
	grid-template-rows: 30px 70px 70px auto 65px 20px 200px 35px;
	/* Use Full Height */
	min-height: 100vh;
	align-content: stretch;
}
body.home > div#page main,
body.page > div#page main,
body.single > div#page main {
	/* IE Kompatibilität
	display: -ms-grid;
	-ms-grid-columns: 70% 40px 1px 40px auto;
	-ms-grid-rows: 3rem auto;
	/* Real Browsers */
	display: grid;
	grid-template-columns: 65% 50px 1px 25px auto;
	grid-template-rows: 40px auto;
	/* Style */
}
body.home > div#page .site-branding img,
body.page > div#page .site-branding img,
body.single > div#page .site-branding img {
	display: block;
	width: auto;
	height: 70px;
}
.site-footer-logo {
	display: inline-block;
	width: 250px;
	padding: 2rem 0;
}

/*******************************************************************************
 *** Layout Tablet Device - landscape
 ******************************************************************************/
@media (max-width: 1039px) {
	h1,h2,h3,h4 {
		-webkit-hyphens: auto;
		   -moz-hyphens: auto;
		     -o-hyphens: auto;
		    -ms-hyphens: auto;
		        hyphens: auto;
	}
	body.home > div#page,
	body.page > div#page,
	body.single > div#page {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 35px 0 auto 0 35px;
		grid-template-rows: 20px 70px 35px auto 65px 20px 125px 25px;
		/* Style */
	}
	body.home > div#page main,
	body.page > div#page main,
	body.single > div#page main {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 60% 30px 1px 25px auto;
		grid-template-rows: 40px auto;
		/* Style */
	}
	.site-footer-logo {
		width: 220px;
		padding: 0 0 1rem;
	}
	.site-footer-kontakt {
		font-size: 0.9rem;
		padding: 0;
	}
	.site-footer-navigation {
		font-size: 0.9rem;
		text-align: center;
	}
}

/*******************************************************************************
 *** Layout Tablet Device - portrait
 ******************************************************************************/
@media (max-width: 768px) {
	body.home > div#page,
	body.page > div#page,
	body.single > div#page {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 35px 0 auto 0 35px;
		grid-template-rows: 20px 70px 35px auto 65px 20px 110px 25px;
		/* Style */
	}
	body.home > div#page main,
	body.page > div#page main,
	body.single > div#page main {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 55% 30px 1px 25px auto;
		grid-template-rows: 40px auto;
		/* Style */
	}
	.site-footer-logo {
		width: 200px;
		padding: 0 0 1rem;
	}
	.site-footer-kontakt {
		font-size: 0.8rem;
		padding: 0;
	}
	.site-footer-navigation {
		font-size: 0.8rem;
		text-align: center;
	}
}

/* Layout Break Navigation */
@media (min-width: 769px) {
	body.home > div#page #site-navigation-button,
	body.page > div#page #site-navigation-button,
	body.single > div#page #site-navigation-button {
		display: none;
	}
	.main-navigation .nav-E1 {
		display: none;
		position: absolute;
		padding-top: 5px;
		padding-bottom: 15px;
	}
	.main-navigation .nav-E1 ul {
		display: flex;
		flex-direction: column;
	}
	.main-navigation .nav-E1 li {
		padding-bottom: 2px;
	}
	.main-navigation li:first-of-type:hover .nav-E1 {
		display: block;
	}
	.main-navigation li a {
		color: #e40747; /* logo rot */
	}
	.main-navigation .nav-E1 li a {
		color: #b5b7c3; /* logo grau */
	}
}
@media (max-width: 768px) {
	body.home > div#page #site-navigation,
	body.page > div#page #site-navigation,
	body.single > div#page #site-navigation {
		/* Real Browsers */
		grid-column: 3/4;
		grid-row: 4/5;
		justify-self: center;
		align-self: auto;
		/* Style */
	}
	#site-navigation {
		display: none;
		padding: 25px 0;
	}
	/* Navigation Mobile */
	.site-header-login {
		display: none;
	}
	.main-navigation ul {
		display: flex;
		flex-direction: column;
	}
	.main-navigation ul,
	.main-navigation li {
		padding: 0;
		margin: 0;
	}
	.main-navigation li {
		font-family: 'Roboto', sans-serif;
		font-weight: 700;
		font-size: 4.5vh;
		line-height: 1.1;
		list-style-type: none;
		text-align: center;
		padding-bottom: 25px;
	}

	.main-navigation .nav-E1 ul {
		padding-top: 10px;
	}
	.main-navigation .nav-E1 li {
		font-size: 2.5vh;
		line-height: 1.1;
		padding-bottom: 5px;
	}
	.main-navigation li a {
		color: #e40747; /* logo rot */
	}
	.main-navigation .nav-E1 li a {
		color: #b5b7c3; /* logo grau */
	}
	body.home > div#page #site-navigation-button,
	body.page > div#page #site-navigation-button,
	body.single > div#page #site-navigation-button {
		/* IE Kompatibilität */
		-ms-grid-column: 4;
		-ms-grid-column-align: end;
		-ms-grid-row: 2;
		/* Real Browsers */
		grid-column: 2/5;
		grid-row: 2/3;
		justify-self: end;
		align-self: start;
		z-index: 101;
		margin-top: 0;
	}
}

/*******************************************************************************
 *** Layout Mobile Device - default
 ******************************************************************************/
@media (max-width: 600px) {
	body.home > div#page,
	body.page > div#page,
	body.single > div#page {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 22px 0 auto 0 22px;
		grid-template-rows: 20px 65px 35px auto 65px 20px 125px 25px;
		/* Style */
	}
	body.home > div#page .site-branding img,
	body.page > div#page .site-branding img,
	body.single > div#page .site-branding img {
		display: block;
		width: auto;
		height: 65px;
	}
	body.home > div#page main,
	body.page > div#page main,
	body.single > div#page main {
		/* Real Browsers */
		display: grid;
		grid-template-columns: auto;
		grid-template-rows: 25px auto auto auto;
		/* Style */
	}
	body.home > div#page main .link-back,
	body.page > div#page main .link-back,
	body.single > div#page main .link-back {
		/* Real Browsers */
		grid-column: 1/2;
		grid-row: 1/2;
	}
	body.home > div#page main .link-back a,
	body.page > div#page main .link-back a,
	body.single > div#page main .link-back a {
		/* Style */
		font-family: 'Mercury Text G3 A', 'Mercury Text G3 B', Georgia, Times, serif;
		font-weight: 600;
		font-size: 1rem;
		line-height: 1.25;
		color: #bbb;
	}
	body.home > div#page main section,
	body.page > div#page main section,
	body.single > div#page main article {
		/* Real Browsers */
		grid-column: 1/2;
		grid-row: 3/4;
	}
	body.home > div#page main div.trennlinie,
	body.page > div#page main div.trennlinie,
	body.single > div#page main div.trennlinie {
		/* Style */
		display: none;
	}
	body.home > div#page main aside,
	body.page > div#page main aside,
	body.single > div#page main aside {
		/* Real Browsers */
		grid-column: 1/2;
		grid-row: 2/3;
		/* Style */
	/*	overflow-y: scroll;
		max-height: 100vh; */
	}
	body.home > div#page main aside.verein-downloads,
	body.page > div#page main aside.verein-downloads,
	body.single > div#page main aside.verein-downloads {
		/* Real Browsers */
		grid-column: 1/2;
		grid-row: 4/5;
		/* Style */
	/*	overflow-y: scroll;
		max-height: 100vh; */
	}
	.section-bref {
		padding: 25px 22px 28px;
    margin: 50px -22px 0;
	}
	.site-footer-logo {
		width: 40%;
		padding: 0 0 1rem;
	}
	.site-footer-kontakt {
		font-size: 0.8rem;
		padding: 0;
	}
	.site-footer-navigation {
		font-size: 0.8rem;
		text-align: center;
	}
}


/*******************************************************************************
 *** Layout Mobile Device - small
 ******************************************************************************/
@media (max-width: 375px) {
	body.home > div#page,
	body.page > div#page,
	body.single > div#page {
		/* Real Browsers */
		display: grid;
		grid-template-columns: 22px 0 auto 0 22px;
		grid-template-rows: 20px 60px 35px auto 65px 20px 125px 25px;
		/* Style */
	}
	body.home > div#page .site-branding img,
	body.page > div#page .site-branding img,
	body.single > div#page .site-branding img {
		display: block;
		width: auto;
		height: 60px;
	}
}
