/*!
Theme Name: medic_hff
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: medic_hff
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.

medic_hff 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* ==========================================================================
   font FiraSans
   
   LICENSE:
   https://github.com/mozilla/Fira/blob/master/LICENSE
   ========================================================================== */


/* Webfont: FiraSans-Black */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Black.woff2') format('woff2');
    font-style: normal;
    font-weight: 900;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-BlackItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-BlackItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 900;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Bold */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-BoldItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-BoldItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Book */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Book.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-BoldItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-BookItalic.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-ExtraBold */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-ExtraBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 800;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-ExtraBoldItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-ExtraBoldItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 800;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-ExtraLight */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-ExtraLight.woff2') format('woff2');
    font-style: normal;
    font-weight: 200;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-ExtraLightItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-ExtraLightItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 200;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Hair */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Hair.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-HairItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-HairItalic.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Heavy */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Heavy.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-HeavyItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-HeavyItalic.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Light */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Light.woff2') format('woff2');
    font-style: normal;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-LightItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-LightItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 300;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Medium */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-MediumItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-MediumItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 500;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Regular */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-RegularItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-RegularItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-SemiBold */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-SemiBoldItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-SemiBoldItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 600;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-Thin */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-Thin.woff2') format('woff2');
    font-style: normal;
    font-weight: 100;
    text-rendering: optimizeLegibility;
}

/* Webfont: FiraSans-ThinItalic */@font-face {
    font-family: 'FiraSans';
    src: url('fonts/FiraSans/FiraSans-ThinItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 100;
    text-rendering: optimizeLegibility;
}

/* -------- */


/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

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

/*! normalize.css v8.0.1 | 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%;
	scroll-behavior: smooth;
    font-size: 16px;
}    
    
    /* Font-size adjust
--------------------------------------------- */

html {
	font-size: 16px;
}

@media screen and (max-width: 1024px) {
	
	html {
		font-size: 15px; 	
	}
	
}

@media screen and (max-width: 480px) {
	
	html {
		font-size: 14px; 	
	}

}


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

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

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * 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: 500;
}

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

/* Box sizing
--------------------------------------------- */

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


/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/


/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #003766;
	font-family: "FiraSans", "ff-meta-web-pro-x", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1.1rem;
    font-weight: 400;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: normal;
    margin-top: 0;
}

h1 {
    line-height: 1.2;
}

h2 {
    line-height: 1.3;  
	font-size: 2.25rem;
  	font-weight: 300;
}

h3 {
    line-height: 1.3; 
	font-size: 1.75rem;
  	font-weight: 300;
	margin: 1.5rem 0 1rem;
}

h4 {
    line-height: 1.3; 
	font-size: 1.5rem;
  	font-weight: 300;
	margin: 1.5rem 0 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 1em;
}

p:last-of-type {
	margin-bottom: 0.2em;
}

.text_column p:last-of-type {
	margin-bottom: 1em;
}

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

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

ul,
ol {
	margin: 0;
    padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

li {
	transition: ease 0.2s all;
}

li:hover {
	transition: ease 0.2s all;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	width: 100%;
	display: block;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: #0078b1;
	text-decoration: none;
    transition: ease 0.2s all;
}

a:visited {
	color: #0078b1;
}

a:hover,
a:focus,
a:active {
	color: #003766;
	transition: ease 0.2s all;
}

a:focus {
	outline: thin dotted;
}

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

a.external span::before {
	background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,120,177,1.00)"><path d="M4 0l16 12.279-6.951 1.17 4.325 8.817-3.596 1.734-4.35-8.879-5.428 4.702z"/></svg>');
	content: '';
	display: inline-flex;
	width: 0.9rem;
	height: 0.9rem;
	margin: 0 0.2rem -0.2rem 0.1rem;
	background-size: contain;
	background-position: bottom;
}

a[href^="mailto:"]::before { 
	background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,120,177,1.00)"><path d="M12 12.713l-11.985-9.713h23.97l-11.985 9.713zm0 2.574l-12-9.725v15.438h24v-15.438l-12 9.725z"/></svg>');
	content: '';
	display: inline-flex;
	width: 0.9rem;
	height: 0.9rem;
	margin: 0 0.35rem 0.2rem 0.2rem;
	background-size: cover;
	vertical-align: middle;
	background-position: bottom;
	color: #0078b1;
}

.email a[href^="mailto:"]::before {
	display: none;
}

a.button,
.page-template-page-news .pagination a {
    color: #fff;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    display: inline-block;
    background-color: #0078b1;
    padding: 0.7rem 1.8rem;
    font-weight: 400;
}

a.button:hover,
.page-template-page-news .pagination a:hover {
    background-color: #003766;
}

.single-post .back a.button {
margin: 2rem 8% 0;
}

.single-post .back a.button::before {
  content: '«';
  margin: 0 0.5rem 0 0;
}

.teaser a {
    color: #003766;   
}

.teaser:hover a {
    color: #0078b1;  
}
	

/* 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);
	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%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.site-header > .container,
.site-main > .container,
.site-footer > .container {
	max-width: 80rem;
	margin: 0 auto;
}

/*
.site-footer .container {
    background-image: url(https://medic.herrfraufirma.de/wp-content/uploads/2022/11/BMBF_gefoerdert_vom.jpg);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 12rem;
    transition: all 0.4s ease;
}
*/

/* Site-Header */

.site-header .container {
	display: flex;
	align-items: stretch;
	padding: 3rem 0 2.4rem;
    transition: all 0.4s ease;
}

@media screen and (max-width: 1350px) {
	
	.site-header .container {
	    padding: 3rem 2rem 2.4rem;
        transition: all 0.4s ease;
    }
    
    .site-footer .container {
        background-position: bottom right 2rem;
        transition: all 0.4s ease;
        padding-left: 2rem;
    }
	
}

.site-header::before {
    display: block;
    content: '';
    height: 6px;
    margin: 0 auto;
    width: 100%;
    background-image: linear-gradient(100deg, #003766 12%, #0078b1 88%);
}

.site-header .container .site-branding {
	flex: 0 1 25%;
}

.site-header .container .site-branding .custom-logo-link {
	max-width: 15rem;
}

.site-header .container .main-navigation {
	flex: 1 0 75%;
    display: flex;
    flex-direction: column;
}

.site-header .container .main-navigation .menu-main-navigation-container {
/*	display: inline-block; */
	text-align: right;
	font-size: 1.2rem;
}

/*
.site-header .container .main-navigation .menu-main-navigation-container > ul {
	display: inline-flex;
}
*/

.site-header .container .main-navigation div > ul#primary-menu > li {
	margin: 0 0 0 1.5rem;
	position: relative;
}

@media screen and (max-width: 1079px) {
    .site-header .container .main-navigation div > ul#primary-menu > li {
        margin: 0 0 0 0;
    }
}

.site-header .container .main-navigation div > ul ul {
	display: block;
	position: absolute;
	background-color: #eff2f5;
	padding: 1rem 1.5rem 0.85rem;
	text-align: left;
    margin: 0;
}

.site-header .container .main-navigation div > ul ul::before {
	content: "";
	height: 0;
	width: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
    border-bottom: 10px solid #eff2f5;
	position: absolute;
	left: 1.2rem;
	top: 0;
	margin: -0.6rem 0 0 -3px;
	z-index: 100;
	display: block;
}

/* Header */

.page .entry-header {
	position: relative;
}

@media screen and (max-width: 1079px) {
    .page .entry-header {
        margin-top: 1.2rem;
    }
}

.page .entry-header h1 {
    font-size: 2.7rem;
    font-weight: 300;
    margin: 0 0 1.8rem 0;
    text-shadow: 0 0 1rem rgba(0,0,0,1);
}

.page .entry-header .title_navi {
	position: absolute;
	top: 4rem;
	left: 4rem;
	color: #fff;
}

.page .entry-header .title_navi .sub_navi {
    margin-left: 0.25rem;
    padding-right: 4rem;
}

.page .entry-header .title_navi ul {
	list-style: none;
	margin: 0;
	padding: 0;
    font-size: 0;
}

@media screen and (max-width: 960px) {
	
	.page .entry-header .title_navi {
        top: 2rem;
    }
	
}

@media screen and (max-width: 840px) {
	
	.page .entry-header .title_navi {
        left: 2rem;
    }

    .page .entry-header .title_navi ul {
        display: none;
    }
	
}

.page .entry-header .title_navi ul li {
	display: inline-block;
}

.page .entry-header .title_navi ul li a {
    font-size: 1.15rem;
    font-weight: 400;
	background-color: #eff2f5;
	color: #003766;
	padding: 0.3rem 0.8rem;
	margin: 0 0.6rem 0.6rem 0;
	display: inline-block;
}

.page .entry-header .title_navi ul li a:hover,
.page .entry-header .title_navi ul li.current_page_item a {
	background-color: #0078b1;
	color: #FFF;
}

.page .entry-header .image {
	width: 100%;
}

.page .entry-header .image img {
    object-fit: cover;
    min-height: 320px;
}

@media screen and (max-width: 840px) {
	
	.page .entry-header .image img {
        min-height: 200px;
    }
	
}

/* Body */


/* Footer */

.site-footer {
	margin-bottom: 4rem;
}

.site-footer .blue-box {
	background-image: linear-gradient(100deg, #003766 12%, #0078b1 88%);
	color: #fff;
    padding: 4rem calc(8% - 2.5rem);
    margin-top: 4rem;
}

.page-template-page-news .site-footer .blue-box,
.single-post .site-footer .blue-box {
	margin-top: 2rem;
}

.site-footer .site-info .text {
    font-size: 0.85rem;
    margin: 2rem 0;
}

.site-footer .site-info .info_box .text {
    font-size: 1rem;
    margin-top: 0;
}

.info_box a {
    color: #FFF;
}

.info_box a:hover {
    color: #8AD3F5;
}

.info_box .twitter a {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    font-weight: 400;
}

.partner_container {
	display: flex;
	align-items: flex-start;
}

.partner_container .partner {
	flex: 1 1 80%;
}

.partner_container .bm_partner {
	flex: 0 0 12rem;
	max-width: 12rem;
}

/*
.partner::before {
	display: block;
    content: 'Partner';
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    font-weight: 400;
    margin-bottom: 1rem;
}
*/

.partner ul {
	list-style: none;
	display: flex;
	margin: 0;
	padding: 0;
	align-items: center;
	flex-wrap: wrap;
}

.partner ul li {
	display: inline-block;
}

.partner ul li .image {
	margin: 1.25rem 2.5rem 1.25rem 0;
}

.partner ul li .image img {
    height: 3.2rem;
	width: auto;
}

.bm_partner {
	position: relative;
}

.bm_partner .image {
	position: absolute;
	right: 1.5rem;
	top: 1.25rem;
}

@media screen and (max-width: 640px) {
	
    .partner_container {
		display: block;
	}
	
	.partner_container .bm_partner {
		margin: 2rem 0 2rem 0;
	}
    
	.bm_partner .image {
        position: relative;
        right: 0;
        top: 0;
	}
	
}
	
.site-footer .blue-box,
.site-footer .site-info {
    font-size: 1rem;
	position: relative;
    transition: ease 0.2s all;
}

@media screen and (max-width: 1350px) {
	
	.site-footer .blue-box {
        margin-left: -2rem;
        transition: ease 0.2s all;
    }
	
}

@media screen and (max-width: 640px) {
	
	.partner ul {
        max-width: 100%;
    }
	
}

.site-footer .blue-box .bg_img {
	position: absolute;
	bottom: 0;
	right: 10%;
	z-index: 1;
	max-width: 16rem;
	height: auto;
}

.site-footer .info_box {
	position: relative;
	z-index: 2;
    display: flex;
}

.site-footer .info_box .column {
    width: 50%;
}

@media screen and (max-width: 840px) {
    
    .site-footer .blue-box {
        margin-left: -2rem;
        padding: 2.2rem 2rem;
    }
	
	.site-footer .info_box {
        display: block;
    }

    .site-footer .info_box .column {
        width: 100%;
        margin-bottom: 2rem;
    }
	
}

.site-footer .info_box .text,
.site-footer .info_box .email,
.site-footer .info_box .phone,
.site-footer .info_box .linkedin {
    margin-left: 2.5rem;
}

.site-footer .info_box .phone {
    margin-bottom: 1rem;
}

.site-footer .info_box .text {
	margin-bottom: 1rem;
}

.site-footer h3.title,
.site-footer .twitter,
.site-footer .newsletter {
    display: inline-flex;
    align-items: center;
}

.site-footer .twitter {
    margin-top: 2.5rem;
}

.site-footer h3.title::before,
.site-footer .twitter::before,
.site-footer .newsletter::before {
    content: '';
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    margin-right: 0.8rem;
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(255,255,255,1.00)"><path d="M24 13.616v-3.232c-1.651-.587-2.694-.752-3.219-2.019v-.001c-.527-1.271.1-2.134.847-3.707l-2.285-2.285c-1.561.742-2.433 1.375-3.707.847h-.001c-1.269-.526-1.435-1.576-2.019-3.219h-3.232c-.582 1.635-.749 2.692-2.019 3.219h-.001c-1.271.528-2.132-.098-3.707-.847l-2.285 2.285c.745 1.568 1.375 2.434.847 3.707-.527 1.271-1.584 1.438-3.219 2.02v3.232c1.632.58 2.692.749 3.219 2.019.53 1.282-.114 2.166-.847 3.707l2.285 2.286c1.562-.743 2.434-1.375 3.707-.847h.001c1.27.526 1.436 1.579 2.019 3.219h3.232c.582-1.636.75-2.69 2.027-3.222h.001c1.262-.524 2.12.101 3.698.851l2.285-2.286c-.744-1.563-1.375-2.433-.848-3.706.527-1.271 1.588-1.44 3.221-2.021zm-12 2.384c-2.209 0-4-1.791-4-4s1.791-4 4-4 4 1.791 4 4-1.791 4-4 4z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.site-footer .twitter::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 300 271" fill="rgba(255,255,255,1.00)"><path d="m236 0h46l-101 115 118 156h-92.6l-72.5-94.8-83 94.8h-46l107-123-113-148h94.9l65.5 86.6zm-16.1 244h25.5l-165-218h-27.4z"/></svg>');
	/*background-size: contain;
background-repeat: no-repeat;
	*/
}


.site-footer .newsletter_column h3.title::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(255,255,255,1.00)"><path d="M15.137 3.945c-.644-.374-1.042-1.07-1.04-1.82v-.003c0-1.172-.939-2.122-2.097-2.122s-2.097.95-2.097 2.122v.003c.002.751-.396 1.446-1.04 1.82-4.668 2.712-1.986 11.715-6.863 13.306v1.749h20v-1.749c-4.877-1.591-2.195-10.594-6.863-13.306zm-3.137-2.945c.552 0 1 .449 1 1 0 .552-.448 1-1 1s-1-.448-1-1c0-.551.448-1 1-1zm3 20c0 1.598-1.392 3-2.971 3s-3.029-1.402-3.029-3h6zm5.015-12.521c-.246-1.504-.933-3.682-2.817-5.515l1.396-1.434c1.8 1.752 2.974 4.044 3.395 6.626l-1.974.323zm-18.015-.322c.421-2.583 1.595-4.874 3.395-6.627l1.396 1.434c-1.884 1.833-2.572 4.011-2.817 5.515l-1.974-.322z"/></svg>');
}

.email,
.phone,
.linkedin {
    display: inline-flex;
    align-items: flex-start;
    width: 100%;
    font-weight: 500;
    letter-spacing: 0.02em;
}

@media screen and (max-width: 840px) {
	
    .email,
    .phone,
    .linkedin {
        width: 90%;
    }
	
}

.email::before,
.phone::before,
.linkedin::before {
    content: '';
    display: inline-flex;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin: 0.3rem 0.5rem 0 0;
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,120,177,1.00)"><path d="M20 22.621l-3.521-6.795c-.008.004-1.974.97-2.064 1.011-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

.linkedin::before {
    margin: 0.2rem 0.5rem 0 0;
}


.email::before {
    width: 0.9rem;
    height: 0.9rem;
    margin: 0.3rem 0.6rem 0 0;
}

.email::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,120,177,1.00)"><path d="M12 12.713l-11.985-9.713h23.97l-11.985 9.713zm0 2.574l-12-9.725v15.438h24v-15.438l-12 9.725z"/></svg>');
}

.contact_column .email,
.contact_column .phone,
.contact_column .linkedin {
    display: block;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: #0078b1;
}

.contact_column .phone {
    margin: 0 0 0 0;
}

.contact_column .email::before,
.contact_column .phone::before,
.contact_column .linkedin::before {
    display: block;
    margin: 0 auto;
    width: 1.3rem;
    height: 1.7rem;
}

.blue-box .phone::before,
.blue-box .email::before,
.blue-box .linkedin::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(255,255,255,1.00)"><path d="M20 22.621l-3.521-6.795c-.008.004-1.974.97-2.064 1.011-2.24 1.086-6.799-7.82-4.609-8.994l2.083-1.026-3.493-6.817-2.106 1.039c-7.202 3.755 4.233 25.982 11.6 22.615.121-.055 2.102-1.029 2.11-1.033z"/></svg>');
}

.blue-box .email::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(255,255,255,1.00)"><path d="M12 12.713l-11.985-9.713h23.97l-11.985 9.713zm0 2.574l-12-9.725v15.438h24v-15.438l-12 9.725z"/></svg>');
}

.blue-box .linkedin::before {
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white"><path d="M0 0v24h24v-24h-24zm8 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.397-2.586 7-2.777 7 2.476v6.759z"/></svg>');
}

.site-footer .newsletter_column a.button {
    color: #006493;
    background-color: #C0CB00;
}

.site-footer .newsletter_column a.button:hover {
    background-color: #FFF;
}

.site-footer .newsletter_column .dsgvo.text {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
}

.site-footer .newsletter_column .image {
    max-width: 80%;
}

@media screen and (max-width: 840px) and (min-width: 600px) {
	
    .site-footer .newsletter_column .image {
        max-width: 50%;
    }
	
}



/* =========================== */
/* back to top / topLink */

.site-footer .topLink {
	content: '';
    bottom: 2.6rem;
    position: fixed;
    margin: 0 auto;
    display: none;
    text-align: right;
    width: 100%;
    max-width: 1280px;
    right: 2rem;

    height: 1.5rem;
    width: 1.5rem;	
    color: rgba(147,120,65,1.00);
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,0,0,0.25)"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 17v-4h-8v-2h8v-4l6 5-6 5z"/></svg>');
    background-size: contain;
    transform: rotate(-90deg);
	z-index: 9999;
}

.site-footer .topLink a {

    background-size: 40px 40px;
    display: block;
    height: 40px;
    width: 40px;
    float: right;
}

.site-footer .topLink.show {
	display: inline-block;
    height: 1.5rem;
    width: 1.5rem;	
}

@media screen and (max-width: 840px) {
    
    .site-footer .topLink {
        bottom: 2.1rem;
        right: 1.5rem;
    }
}

@media screen and (max-width: 520px) {
    
    .site-footer .topLink {
        bottom: 2.5rem;
        right: 1rem;
    }
	
	.site-footer .topLink.show {
		display: inline-block;
		height: 2.25rem;
		width: 2.25rem;	
	}
}



/* page entry-content */

.page .entry-content {
	background-color: #eff2f5;
	padding: 4rem 8%;
    margin-bottom: 3rem;
	
}

.post .entry-content {
	margin-bottom: 0;
}

@media screen and (max-width: 840px) {
	
	.page .entry-content {
        padding: 1.5rem 2.2rem;
    }
	
}


/* section */

section {
	margin: 0 0 3rem 0;
}

section:last-of-type {
	margin: 0 0 0 0;
}


/* text_img */

section.text_img {
	margin-top: 1rem;
}

section.text_img .columns {
	display: flex;
}

section.text_img .text_column {
	flex: 1 1 60%;
    padding-right: 3rem;
}

section.text_img .text_column ul {
	padding-left: 1.25rem;
}

section.text_img .text_column ul li {
	margin-bottom: 1rem;
}

section.text_img .image_column {
	flex: 1 1 40%;
}

section.text_img .image_column .image {
	margin: 0 0 2rem 0;
}

.caption {
	font-size: 0.9rem;
	opacity: 0.75;
	margin: 0.5rem 0 0 0;
}

section.text_img .image_column.img_half .image,
section.text_img .image_column.img_half_width .image {
	max-width: 12rem;
}

section.text_img.canvas .image_column .image {
    background-color: #FFF;
    padding: 2.2rem;
}

@media screen and (max-width: 840px) {
	
	section.text_img .columns {
        flex-direction: column;
    }

    section.text_img .text_column {
        padding-right: 0;
    }

    section.text_img .image_column {
        margin-top: 2.5rem;
    }
	
}

section.text_img.map {
	background-image: linear-gradient(100deg, #003766 12%, #0078b1 88%);
	color: #fff;
    padding: 3rem 3rem 1rem 2rem;
}

section.text_img.map .text_column .legend {
    max-width: 22rem;
    margin: 3.8rem 0 2rem 0;
}

section.text_img.map .image_column {
	flex: 1 1 45%;
}

section.text_img.map .text_column {
	flex: 1 1 55%;
    padding: 0 3rem 0 6rem;
}

section.text_img.map h3.title {
    font-size: 2rem;
    line-height: 1.2;
}

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

    section.text_img.map .image_column {
        padding: 0;
    }

    section.text_img.map .text_column {
        padding: 0 0 0 4rem;
    }
	
}

@media screen and (max-width: 840px) {
    
    section.text_img.map {
        padding: 3rem 0 0;
    }

    section.text_img.map .image_column {
        flex: 0 0 100%;
        order: 2;
        padding: 2rem 6rem 3rem 3rem;
    }

    section.text_img.map .text_column {
        flex: 0 0 100%;
        padding: 0 2.2rem;
    }
	
}

@media screen and (max-width: 540px) {
    
    section.text_img.map .image_column {
        padding: 1rem 12% 1.5rem 1rem;
        margin-top: 0;
    }
	
}


/* text_img.meta_info */


section.text_img.meta_info {
	margin-top: 2rem;
}

section.text_img.meta_info strong,
.single-post .meta_info strong {
	text-transform: uppercase;
	letter-spacing: 0.05em;
	font-size: 0.95rem;
	font-weight: 500;
}

.meta_info a,
.info a,
.contact_column a {
	font-weight: 500;
    letter-spacing: 0.02em;
}

.text_column .meta_info {
    margin-top: 2rem;
}


/* info_block */

section.info_block {
    background-color: #eff2f5;
}

section.info_block .text_column {
    padding: 4rem;
}

@media screen and (max-width: 1024px) {
    
    section.info_block .text_column {
        padding: 3rem;
    }

}

@media screen and (max-width: 840px) {
    
    section.info_block .text_column {
        padding: 2.2rem;
    }

}

section.info_block h3 {
    font-size: 2rem;
    display: block;
    width: 100%;
    margin: 0 0 1.6rem 0;
    line-height: 1.2;
}

section.info_block ul.link_list {
    list-style: none;
    margin: 1.7rem 0 0 0;
}

section.info_block ul.link_list li {
    display: inline-flex;
    align-items: flex-start;
    width: 100%;
}

section.info_block ul.link_list li::before {
    content: '';
    display: inline-flex;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin: 0.3rem 0.6rem 0 0.1rem;
    background-image: url('data:image/svg+xml;charset=UTF-8, <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(0,120,177,1.00)"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm1 17v-4h-8v-2h8v-4l6 5-6 5z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
}

section.info_block .text .link { /* link-button */
    margin-top: 2rem;
}

section.info_block .columns {
	display: flex;
    align-items: flex-start;
}

section.info_block .image_column.corner_image {
    max-height: 12rem;
    clip-path: polygon(0 0, 100% 0%, 84.5% 100%, 0% 100%);
}

section.info_block.text_contact .image_column,
section.info_block.text_link_button .image_column {
	flex: 0 0 17%;
}

section.info_block.text_contact .text_column {
	flex: 1 1 53%;
}

section.info_block.text_contact .contact_column {
	flex: 1 1 30%;
}

.text_contact h3 {
    margin-bottom: 3rem;
}

section.info_block .contact_column {
    background-color: #FFF;
    margin: 5rem 8rem 5rem 2rem;
    padding: 2rem 1rem;
    max-width: 18%;
    text-align: center;
}

section.info_block .contact_column h3 {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    font-weight: 500;
    max-width: 70%;
    margin: 0 auto 1.5rem;
}

section.info_block.text_link_button .text_column {
	flex: 1 1 83%;
}

section.info_block.text_link_button .text {
	column-count: 2;
    column-gap: 4%;
    hyphens: auto;
}

@media screen and (max-width: 1024px) {
    
    section.info_block .columns {
        flex-wrap: wrap;
    }

    section.info_block .image_column.corner_image {
        max-height: 16rem;
    }
	
    section.info_block.text_contact .image_column,
    section.info_block.text_link_button .image_column {
        flex: 0 0 30%;
    }

    section.info_block.text_contact .text_column {
        flex: 1 0 70%;
    }

    section.info_block.text_contact .contact_column {
        display: block;
    }
    
    section.info_block .contact_column {
        margin: 0 4rem 4rem;
        max-width: 100%;
    }
    
    section.info_block .contact_column .email,
    section.info_block .contact_column .phone,
    section.info_block .contact_column .linkedin {
        width: 100%;
    }

    section.info_block .contact_column h3 {
        max-width: 90%;
    }

    section.info_block.text_link_button .text_column {
        flex: 1 1 70%;
    }

    section.info_block.text_link_button .text {
        column-count: 1;
        column-gap: 0;
    }
    
}

@media screen and (max-width: 840px) {
    
    section.info_block .image_column.corner_image {
        max-height: 12rem;
        clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    }
	
    section.info_block.text_contact .image_column,
    section.info_block.text_link_button .image_column {
        flex: 0 0 100%;
    }
    
    section.info_block .contact_column {
        margin: 0 2.2rem 2.2rem;
        max-width: 100%;
    }
    
}


/* contact_list_block */

.contact_list {
    font-size: 1rem;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.contact_list h3.name {
    font-size: 1.2rem;
    font-weight: 400;
	margin: 0 0 0.2rem 0;
}

.contact_list .position {
    font-style: italic;
	margin: 0 0 0.4rem 0;
}

.contact_list .entry {
	flex: 0 0 45%;
	display: flex;
	margin: 0 0 2rem 0;
	justify-content: space-between;
}

.contact_list .entry .image {
	flex: 0 0 25%;
}

@media screen and (max-width: 840px) {
	
    .contact_list .entry {
        flex: 0 0 100%;
    }
	
}

/* 
.contact_list .entry .image img {
	border-radius: 50%;
} */

.contact_list .entry .info {
	flex: 0 0 70%;
}



/* link_list_block */


/* teaser_block */

.teaser_block .teaser_list {
	display: flex;
	width: 80%;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
	align-items: stretch;
}

.teaser_block .teaser_list .entry {
    min-height: 260px;
}

.teaser_block .teaser_list .entry .image {
    display: flex;
    align-items: center;
}

.teaser_block h3 {
    margin-left: 10%;
    margin-bottom: 1.8rem;
}

@media screen and (max-width: 1024px) {
	
    .teaser_block .teaser_list {
        width: 100%;
    }

    .teaser_block .teaser_list .entry {
        min-height: 230px;
    }

    .teaser_block h3 {
        margin-left: 0;
    }
	
}

.teaser_block .teaser_list > div {
	flex: 0 0 48%;
	margin-bottom: 4%;
}

@media screen and (max-width: 640px) {
	
    .teaser_block .teaser_list > div {
        flex: 0 0 100%;
        margin-bottom: 6%;
    }
	
}


/* blog / news / aktuelles */

.blog .site-main > .container {
	background-color: #ccc;
}

.blog .site-main > .container article {
	padding: 2rem;
	margin: 0 0 2rem 0;
}

.page-template-page-news .site-main .entry_list,
.news_teaser_list {
	background-color: #eff2f5;
	padding: 4rem 8%;
}

.page-template-page-news .site-main > .container article {
	padding: 0;
	margin: 0 0 2.5rem 0;
}

@media screen and (max-width: 840px) {
	
	.page-template-page-news .site-main .entry_list,
    .news_teaser_list {
        padding: 2.2rem 2.2rem;
    }
    
    .page-template-page-news .site-main > .container article {
        margin: 0 0 2rem 0;
    }
	
}

.page-template-page-news .site-main > .container article:last-of-type,
.news_teaser_list article:last-of-type {
	margin: 0 0 0 0;
}

.page-template-page-news .teaser,
.blog .teaser,
.teaser_list .entry {
	background-color: #fff;
    box-shadow: 0 0 2rem rgba(0,0,0,0.10);
    margin-bottom: 2.5rem;
}

.teaser_list .entry .image.text {
	padding: 1.5rem;
	font-size: 1.35rem;
    font-size: clamp(1rem, -1.5rem + 6.333333vw, 1.35rem);
	display: flex;
	flex-direction: column;
	height: 100%;
	text-align: center;
}

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

    .teaser_list .entry .image.text {
        font-size: 1.35rem;
    }
	
}

.teaser_list .entry .image.text .space {
	flex-grow: 1;
}

.teaser_list .entry .image.text .text {
	flex-grow: 0;
}

.page-template-page-news .teaser:last-of-type,
.blog .teaser:last-of-type,
.teaser_list .image:last-of-type {
	margin-bottom: 0;
}

.page-template-page-news .teaser a,
.blog .teaser a {
	display: flex;
}

.page-template-page-news .teaser .image,
.blog .teaser .image {
	flex: 1 1 32%;
}

.page-template-page-news .teaser .image img,
.blog .teaser .image img {
	object-fit: cover;
    /*height: 100%;*/
	height: 17.5rem;
}

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

.page-template-page-news .teaser .image img,
.blog .teaser .image img {
	height: 20rem;
}
}

.page-template-page-news .teaser .content,
.blog .teaser .content {
	flex: 1 1 68%;
	padding: 1.8rem 2rem 1.8rem 2.4rem;
    display: grid;
}

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

    .page-template-page-news .teaser a,
    .blog .teaser a {
        flex-direction: column;
    }
    
    .page-template-page-news .teaser .content,
    .blog .teaser .content {
        padding: 1.8rem 2rem;
    }

}

.page-template-page-news .teaser .content p,
.blog .teaser .content p {
	margin: 0;
}

.page-template-page-news .teaser .content .entry-meta,
.text_column .entry-meta,
.site-footer h3.title,
.teaser_block h3.title {
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    font-weight: 400;
}

.text_column .entry-meta {
    margin-bottom: 1.2rem;
}

.site-footer h3.title {
    margin-top: 0;
}

.page-template-page-news .teaser .content h2 {
    font-size: 1.8rem;
    font-weight: 400;
	color: #0078b1;
    letter-spacing: -0.01em;
    margin: 0.9rem 0 0.4rem 0;
    line-height: 1.2;
}

.page-template-page-news .teaser .content .text {
    align-self: flex-end;
}

/* pagination */

.page-template-page-news .pagination {
	display: flex;
	justify-content: space-between;
	margin: 2rem 8% 0; 
}

@media screen and (max-width: 840px) {
	
	.page-template-page-news .pagination {
	    margin: 2rem 2.2rem 0; 
}
	
}

.page-template-page-news .pagination .prev {
	text-align: left;
	flex: 1 1 50%;
}

.page-template-page-news .pagination .next {
	text-align: right;
	flex: 1 1 50%;
}

.page-template-page-news .pagination .prev a::before {
	content: '«';
	margin: 0 0.5rem 0 0;
}

.page-template-page-news .pagination .next a::after {
	content: '»';
	margin: 0 0 0 0.5rem ;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.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 4px 10px 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: auto;
    min-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;
}

.main-navigation .sub-menu li {
    padding: 0.25rem 0;
}

.main-navigation .sub-menu li a,
.main-navigation .sub-menu li a:visited {
    font-size: 1.15rem;
    line-height: 1.15;
    font-weight: 400;
}

.main-navigation .sub-menu li a:hover,
.main-navigation .sub-menu li a:active,
.main-navigation .sub-menu li.current-menu-item a {
    color: #0078b1;
}


/* --- // mobile start ----- */


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

/* toggle buttn */
button.menu-toggle {
	background:transparent !important;
	position: absolute;
	right: 0;
}

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

	button.menu-toggle {
        right: -0.5rem;
    }
}

.menu-toggle {
	display: block;
	position: relative;
	overflow: hidden;
	margin: 2.5rem 1.4rem 0 auto;
	padding: 0;
	width: 48px;
	height: 48px;
	font-size: 0;
	text-indent: -9999px;
	appearance: none;
	box-shadow: none;
	border-radius: none;
	border: none;
	cursor: pointer;
	transition: background 0.1s;
}

.menu-toggle:focus {
	border:none;
	outline:none;
}

.menu-toggle span {
  display: block;
  position: absolute;
  top: 22px;
  left: 9px;
  right: 9px;
  height: 3px;
  background-color:#000000;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000000;
  content: "";
}

.menu-toggle span::before {
  top: -10px;
}

.menu-toggle span::after {
  bottom: -10px;
}


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

    .menu-toggle span {
      display: block;
      position: absolute;
      top: 22px;
      left: 12px;
      right: 12px;
      height: 2px;
      background-color:#000000;
    }

    .menu-toggle span::before,
    .menu-toggle span::after {
      position: absolute;
      display: block;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: #000000;
      content: "";
    }

    .menu-toggle span::before {
      top: -8px;
    }

    .menu-toggle span::after {
      bottom: -8px;
    }
    
}


/* toggled X */
.menu-toggle span {
  transition: background 0s 0.1s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  transition-duration: 0.1s, 0.1s;
  transition-delay: 0.1s, 0s;
}

.menu-toggle span::before {
  transition-property: top, transform;
}

.menu-toggle span::after {
  transition-property: bottom, transform;
}

/* active state, i.e. menu open */
.toggled .menu-toggle {
  background-color: #cb0032;
}

.toggled .menu-toggle span {
  background: none;
}

.toggled .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.toggled .menu-toggle span::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.toggled .menu-toggle span::before,
.toggled .menu-toggle span::after {
  transition-delay: 0s, 0.1s;
}


/* ----- */


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

	.menu-toggle {
		display: none;
	}	

	.main-navigation ul {
		display: flex;
		justify-content: right;
		text-indent: 0;
	}
	
	.main-navigation ul > li::before {
/*		content: none;
		padding: 0; */
	}

/*
	.main-navigation ul ul {
		display: block;
	}
*/
	.main-navigation ul > li li {
		display: block;
		background-color: transparent;
	}
	
}


/* -----------// mobile end // begin custom ------------ */



@media screen and (max-width: 1079px) {
	
	.site-header {
		min-height: 12rem;
	}
	
	.site-branding {
		position: absolute;
	}
	
	.menu-toggle {
	  margin: 4.5rem 1.4rem 0 auto;
	}
	
	.main-navigation ul.menu#primary-menu {
		margin: 7.5rem auto 0 0 ;
	}

	.site-header .container .main-navigation .menu-main-navigation-container,
	.site-header .container .main-navigation .menu-main-navigation-en-nu-container {
		text-align: left;
	}
	
	.site-header .container .main-navigation .menu-main-navigation-container > ul > li,
	.site-header .container .main-navigation .menu-main-navigation-en-nu-container > ul > li {
		margin: 0;
	}
	
	.main-navigation ul ul {
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0);
		float: none;
		position: relative;
		left: 0;
		z-index: 1;
	}
	
	.site-header .container .main-navigation .menu-main-navigation-container > ul ul,
	.site-header .container .main-navigation .menu-main-navigation-en-nu-container > ul ul {
		display: block;
		position: relative;
		background-color: transparent;
		padding: 0.25rem 0.25rem 0.25rem 0.85rem;
		text-align: left;
		margin: 0;
	}
	
	.site-header .container .main-navigation .menu-main-navigation-container > ul ul::before,
	.site-header .container .main-navigation .menu-main-navigation-en-nu-container > ul ul::before {
		display: none;
	}

}

@media screen and (max-width: 1079px) {
	
    .menu-toggle {
	  margin: 4.32rem 1.4rem 0 auto;
	}
    
}

/* === */



.site-main {
	  word-wrap: break-word;
  overflow-wrap: break-word;

-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
}

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

/* hover / current */

.main-navigation li a {
    color: #003766;
	font-size: 1.4rem;
    font-weight: 400;
	border-bottom: 4px solid rgba(0,0,0,0);	
    letter-spacing: -0.01em;
}

@media screen and (max-width: 1220px) {
	
	.main-navigation li a {
        font-size: 1.2rem;
    }
}

.main-navigation ul.menu > li > a:hover {
    color: #0078b1;
}

.main-navigation ul.menu > li.current_page_item > a,
.single-post .main-navigation ul.menu > li.news > a,
.main-navigation ul.menu > li.current_page_ancestor > a,
.main-navigation ul.menu > li.current_page_ancestor > a:visited,
.parent-pageid-62 {
	border-bottom: 4px solid #C0CB00;
}

.main-navigation ul.menu > li.current_page_item:hover > a,
.single-post .main-navigation ul.menu > li.news > a:hover,
.main-navigation ul.menu > li.current_page_ancestor:hover > a {
	color: #003766;
	border-bottom: 4px solid rgba(0,0,0,0);
}

.main-navigation ul.menu > li.current_page_item > a,
.single-post .main-navigation ul.menu > li.news > a,
.main-navigation ul.menu > li.current_page_ancestor > a,
.main-navigation ul.menu > li.current_page_ancestor > a:visited {
	font-weight: 500;
}

@media screen and (max-width: 1080px) {
	
	.main-navigation ul.menu > li.current_page_item > a,
    .single-post .main-navigation ul.menu > li.news > a,
    .main-navigation ul.menu > li.current-page-ancestor > a,
    .main-navigation ul.menu > li.current-page-ancestor > a:visited {
        border-bottom: none;
    }

    .main-navigation ul.menu > li.current_page_item:hover > a,
    .single-post .main-navigation ul.menu > li.news > a:hover,
    .main-navigation ul.menu > li.current-page-ancestor:hover > a {
        border-bottom: none;
    }
}

/* Meta-navigation
--------------------------------------------- */

.meta-navigation {
    text-align: right;
    flex-grow: 1;
}

.meta-navigation ul {
    text-align: right;
    display: inline-flex !important;
}

.meta-navigation ul li a,
.meta-navigation ul li a:visited {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    display: inline-block;
    border-bottom: none;
}

.meta-navigation ul li a:hover,
.meta-navigation ul li a:active {
    border-bottom: none;
    color: #0078b1;
}

.meta-navigation ul li.wpml-ls-current-language a {
    color: #C0CB00;
    font-weight: 700;
}

.site-header .meta-navigation ul li.menu-item-wpml-ls-10-de {
    order: 1;
}

.site-header .meta-navigation ul li.menu-item-wpml-ls-10-en {
    order: 2;
}

.site-header .meta-navigation ul li.menu-item-wpml-ls-10-de::after {
    content: "|";
    color: #CBCBC6;
    padding: 0 0.4rem;
    font-weight: 500;
}


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

.page {
	margin: 0 0 0em;
}

.post {
	margin: 0 0 2.5rem;
}

.post:last-of-type {
	margin: 0 0 0;
}

.post .more {
    color: #0078b1;
    text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 0.95rem;
	font-weight: 500;
}

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

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

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

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

.bypostauthor {
	display: block;
}

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

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

/* 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 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;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack 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;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* 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: 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 {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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