/*
Theme Name:     HoF-Style
Theme URI:      http://www.hof.uni-halle.de/
Description:    Standalone WordPress theme for HoF
Author:         Justus Henke
Author URI:     http://de.linkedin.com/in/justushenke/
Version:        1.0.0
License: GNU General Public License
License URI: license.txt
Tags: custom-menu, sticky-post, microformats, rtl-language-support, translation-ready, full-width-template, post-formats
*/

/* =Base Theme Structure
-------------------------------------------------------------- */

/* Alignment */
.alignleft {
	display: inline;
	float: left;
}
.alignright {
	display: inline;
	float: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Text meant only for screen readers */
.screen-reader-text,
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}

/* Sticky posts */
.sticky {
}

/* Entry meta */
.entry-meta {
	clear: both;
	display: block;
}
.single-author .entry-meta .byline {
	display: none;
}

/* Navigation */
#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	clear: both;
	margin: 0 0 1em;
}
.page .edit-link {
	clear: both;
	display: block;
}

/* Images */
a img {
	border: none;
}
p img {
	margin-bottom: 0.5em;
}
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img,
.wp-caption {
	max-width: 100%;
	height: auto;
}
img.alignleft {
	margin-right: 1em;
}
img.alignright {
	margin-left: 1em;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}
.gallery-caption {
}
.wp-smiley {
	margin: 0;
}

/* Comments */
article.comment {
	display: block;
}
#respond input[type=text] {
	display: block;
	width: 60%;
}
#respond textarea {
	display: block;
	margin: 0 0 1em;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

/* Widgets */
.widget {
	display: block;
}
.widget-area .widget_search {
	overflow: hidden;
}
.widget-area .widget_search input {
	float: left;
}

/* Forms */
#searchform label {
	display: none;
}
#searchform input#s {
	width: 60%;
}
input[type=text],
input#s {
	margin: 0 1em 0 0;
	width: 60%;
}
textarea {
	width: 80%;
}
.required {
	color: #cc0033;
}


/* =HoF Custom Styles
-------------------------------------------------------------- */  

@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

@font-face {
	font-family: "fico";
	src: url("fonts/fico.eot");
	src: url("fonts/fico.eot?#iefix") format("embedded-opentype"),
 	     url("fonts/fico.woff") format("woff"),
	     url("fonts/fico.ttf") format("truetype"),
	     url("fonts/fico.svg#fico") format("svg");
	}
/* https://fico.lensco.be */

::selection {
    background: #0070c0;
	color: #fff;
}
/* Offset internal anchor links */
:target::before {
  content: "";
  display: block;
  height: 60px;
  margin: -60px 0 0;
}

:root {
  --primary: #0070c0; /* blue */
  --secondary: #003f7a; /* darkblue */
  --tertiary: #ededed; /* light grey */
  --quartary: #badbff; /* light blue */
  --xsmall: 12px;
  --small: 13px;
  --copy: 15px;
  --default: 16px;
  --larger: 17px;
  --large: 18px;
  --xlarge: 20px;
  --primary-color: #0070c0;
  --primary-dark: #003f7a;
  --text-color: #111;
  --light-bg: #ededed;
  --border-color: #d1d1d1;
  --menu-transition: 0.3s ease;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



html {
    overflow-y: scroll;
  	scroll-behavior: smooth;
}

html, body { 
	margin: 0 auto; 
	color: #111; 
	font-family:  Calibri, Arial, Helvetica, Verdana, sans-serif;  }

body { 
	background:url(img/bg_body.gif); 
}

/* two column grid */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-item {
    box-sizing: border-box;
    padding: 0 15px;
}

.col-full-width {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-main {
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}

@media (min-width:767px) {
	.col-main {
	max-width: 66.666666%;
	}
}

.col-right {
    flex: 0 0 33.33333%;
  max-width: 33.33333%;
}

/* Responsive layout - makes a single column layout */
@media (max-width: 768px) {
    .col-main, .col-right {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0;
    }
}


/* Progress Bar */
.progress {
  height: 3px;
  width: 100%;
  background: linear-gradient(to right, rgb(20, 255, 226),#0070c0  var(--scroll), transparent 0);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
}

/*
:root * {
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  animation-iteration-count: 1;
  animation-fill-mode: both;
} */


a { 
	text-decoration:none; 
	word-break: break-word;
	color:#0070c0; 
	transition: 0.25s;
	transition: transform 0.3s, opacity 0.2s;
}
a:hover { 
	text-decoration:underline; 
	transition: 0.25s;
	transition: transform 0.3s, opacity 0.2s;
}

h1, h2, h3, h4 { font-family: 'Lato', Helvetica,  Arial, Verdana, sans-serif;  }
h1 { font-size: var(--xlarge); line-height: 1.2em;  } 
h2 { font-size: var(--large); line-height: 1.2em;  } 
h3 { font-size: var(--default); line-height: 1.2em;  } 
h4 { font-size: var(--copy); line-height: 1.2em; }

.smaller { font-size: var(--small); color: var(--secondary)}

blockquote {
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote p {
  display: inline;
  font-style:italic;
}

#page {
	display: block;
	margin: 0 1em 1em 1em;	
	max-width:1080px;
	height:auto;
	margin-left:auto;
	margin-right:auto;
	background:#fff;
	position:relative;
	box-shadow: 3px 1px 5px 3px #ccc, -3px 1px 5px 3px #ccc;
}
#page .spacer {
	clear:both;
	height:0.00001em;
}

/* overwrite base theme settings */
#primary {
  float: none;
  margin: 0;
  width: auto;
}
#main .widget-area {
  float: none;
  width: auto;
  overflow: unset;
}

#content {
	margin: 0;
}


#main {
	padding:50px 35px 0 35px;
	width:auto;
}

img {
	max-width: 100%;
  height: auto;
}

/*
#main .widget-area {
	float: right;
	overflow: hidden;
	width: 240px;}
*/ 

.alignright { float:right; }
.alignleft { float:left; }

table { 
  max-width:100% !important; 
  width: 100%;
  word-wrap: break-word; 
}

.clearfix:before,
.clearfix:after {
    content: " "; 
    display: table; 
}
.clearfix:after {
    clear: both;
}
/* For IE 6/7 only */
.clearfix {
    *zoom: 1;
}

input[type="text"], input[type="email"], input#s {
	width: 90%;
   max-width: 90%;
}
.wpcf7-form { font-size:var(--small) }

.left { float:left; }
.right { float:right; }


.single-projekte #comments { display:none; } 


.menu-item-has-children a:after,
.social-navigation a:before,
.dropdown-toggle:after,
.bypostauthor > article .fn:after,
.comment-reply-title small a:before,
.pagination .prev:before,
.pagination .next:before,
.pagination .nav-links:before,
.pagination .nav-links:after,
.search-submit:before {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	display: inline-block;
	font-family: "Genericons";
	font-size: var(--default);
	font-style: normal;
	font-variant: normal;
	font-weight: normal;
	line-height: 1;
	speak: none;
	text-align: center;
	text-decoration: inherit;
	text-transform: none;
	vertical-align: top;
}


/* = Header
-------------------------------------------------------------- */

hgroup {
	height:144px;
	background: #0070c0;
	background-image: linear-gradient(-45deg, #003f7a 20%, #0070c0 100%);
}
#hgroupwrap {
	height:144px;
	background:url(img/bg_header.png) no-repeat;
}
hgroup #site-title {
    background: url("img/hof_logo.png") no-repeat scroll right top transparent;
	background-size: 173px 90px;
    color: rgb(255, 255, 255);
    float: right;
    margin: 0px;
    font-size: 4em;
	padding: 23px 190px 0px 0px;
    position: absolute;
    top: 38px;
    right: 50px;
    z-index: 99;
}
hgroup #site-description h1 {
	margin:0;
	padding:0;
	font-weight:normal;
}
hgroup #site-description { 
	color:#fff;
	float:left;
	margin:0;
	padding: 82px 0 0 50px;
}
hgroup #site-description h2 {
	margin:0;
	padding:0;
	font-size: 1.4em;
	font-weight:normal;
}
hgroup .subline { 
	font-family: 'Lato', Helvetica,  Arial, Verdana, sans-serif; 
	margin:0;
	font-size: var(--copy);
}
hgroup a { color:#fff; }
hgroup a:hover { text-decoration:none; }



/* = Navigation
-------------------------------------------------------------- */

/**
 * Modern Menu System - Complete CSS Implementation
 * Handles both desktop and mobile navigation with clean component architecture
 */

/* Base Custom Properties */
:root {
  /* Colors */
  --menu-primary: #0070c0;
  --menu-primary-dark: #003f7a;
  --menu-text: #34495e;
  --menu-bg: #ededed;
  --menu-border: #d1d1d1;
  --menu-hover-text: #ffffff;
  --menu-active-bg: rgba(0, 101, 179, 0.08);
  
  /* Spacing */
  --menu-padding-x: 1rem;
  --menu-padding-y: 0.65rem;
  --menu-item-height: 3rem;
  
  /* Effects */
  --menu-transition-speed: 500ms;
  --menu-transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
  --menu-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  
  /* Breakpoints */
  --menu-mobile-breakpoint: 768px;
  
  /* Component sizes */
  --menu-toggle-size: 3rem;
  --menu-dropdown-width: 220px;
  
  /* Hover indicators - customizable per menu item */
  --menu-indicator-1: #16a085;
  --menu-indicator-2: #2ecc71;
  --menu-indicator-3: #3498db;
  --menu-indicator-4: #9b59b6;
  --menu-indicator-5: #f1c40f;
  --menu-indicator-6: #e67e22;
  --menu-indicator-7: #c0392b;
}

/* ---------- HEADER MENU CONTAINER STRUCTURE ---------- */

/* Fix for site-header to properly contain the menu items */
.site-header {
  position: relative;
  height: auto;
}

/* Header-specific Menu Container */
.site-header .site-navigation {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(-45deg, #ccc 10%, var(--menu-bg) 100%);
  z-index: 100;
}

/* Header Main Area */
.site-header .site-header-main {
  display: flex;
  align-items: center;
  background-color: var(--menu-bg);
  position: relative;
  width: 100%;
  height: var(--menu-item-height);
  min-height: 3rem;
}

/* Menu Container */
.site-header .menu-container {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Navigation Component */
.site-header .main-navigation {
  width: 100%;
  height: 100%;
}

/* ---------- MOBILE MENU TOGGLE ---------- */

/* Toggle Button Component */
#menu-toggle {
  display: none;
  padding: 10px 15px;
  background-color: var(--menu-primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  margin: 0.6rem;
  z-index: 1000;
}

#menu-toggle:hover, 
#menu-toggle:focus {
  background-color: var(--menu-primary-dark);
}

.menu-toggle-text {
  margin-right: 5px;
}

.menu-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18px;
  width: 22px;
  vertical-align: middle;
}

.menu-toggle-icon span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: white;
  transition: transform var(--menu-transition-speed) var(--menu-transition-easing);
}

#menu-toggle.toggled-on .menu-toggle-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle.toggled-on .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle.toggled-on .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- MAIN NAVIGATION MENU ---------- */

/* Main Navigation Container */
.site-header #site-header-menu {
  position: relative;
  padding-right: 3.5rem; /* Make room for the search icon */
  width: 100%;
  height: 100%;
}

/* Menu List */
.site-header .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  /* padding: 0;*/
  flex-wrap: nowrap;
  width: 100%;
  height: 100%;
}

/* Menu Items */
.site-header .nav-menu > .menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
  border-right: 1px solid var(--menu-border);
  flex-shrink: 0;
  height: var(--menu-item-height);
  max-height: var(--menu-item-height);
}

.site-header .nav-menu > .menu-item:last-child {
  border-right: none;
}

/* Menu Links */
.site-header .nav-menu > .menu-item > a {
  display: flex;
  align-items: center;
  padding: var(--menu-padding-y) var(--menu-padding-x);
  color: var(--menu-text);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  transition: 
    color var(--menu-transition-speed) var(--menu-transition-easing),
    background-color var(--menu-transition-speed) var(--menu-transition-easing);
  height: 100%;
  box-sizing: border-box;
  line-height: 1;
  max-height: var(--menu-item-height);
}

/* Menu Item Hover/Focus States */
.site-header .nav-menu > .menu-item > a:hover,
.site-header .nav-menu > .menu-item > a:focus,
.site-header .nav-menu > .current-menu-item > a {
  color: var(--menu-hover-text);
  background-color: var(--menu-primary);
  background-image: linear-gradient(-45deg, var(--menu-primary-dark) 20%, var(--menu-primary) 100%);
}

/* ---------- SUBMENU STYLING ---------- */

/* First Level Submenus */
.site-header .nav-menu > .menu-item > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  width: max-content;
  z-index: 101;
}

/* All Submenus */
.site-header .sub-menu {
  position: absolute;
  min-width: 100%;
  width: max-content;
  background: var(--tertiary);;
  box-shadow: var(--menu-box-shadow);
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transform: scaleY(0);
  transform-origin: 0 0 0;
  transition: 
    opacity var(--menu-transition-speed) var(--menu-transition-easing),
    visibility var(--menu-transition-speed) var(--menu-transition-easing),
    transform var(--menu-transition-speed) var(--menu-transition-easing);
  z-index: 100;
  display: block;
}

/* Third Level Submenus */
.site-header .nav-menu > .menu-item > .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 100%;
  margin-top: 0;
  z-index: 102;
}

/* Submenu Items */
.site-header .sub-menu li {
  display: block;
  width: 100%;
}

.site-header .sub-menu .menu-item {
  border-bottom: 1px solid var(--menu-border);
  white-space: nowrap;
  position: relative;
}

.site-header .sub-menu .menu-item:last-child {
  border-bottom: none;
}

/* Submenu Links */
.site-header .sub-menu .menu-item a {
  display: block;
  padding: var(--menu-padding-y) var(--menu-padding-x);
  color: var(--menu-text);
  text-decoration: none;
	text-wrap: auto;
	max-width: 300px;
  transition: 
    color var(--menu-transition-speed) var(--menu-transition-easing),
    background-color var(--menu-transition-speed) var(--menu-transition-easing);
}

/* Submenu Hover/Focus States */
.site-header .sub-menu .menu-item a:hover,
.site-header .sub-menu .menu-item a:focus,
.site-header .sub-menu .current-menu-item > a {
  color: var(--menu-hover-text);
  background-color: var(--menu-primary);
  background-image: linear-gradient(-45deg, var(--menu-primary-dark) 20%, var(--menu-primary) 100%);
}

/* Submenu Display on Hover/Focus */
.site-header .menu-item:hover > .sub-menu,
.site-header .menu-item:focus-within > .sub-menu,
.site-header .sub-menu.toggled-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  display: block;
  height: auto;
  transform: scaleY(1);
}

/* Handle display of multilevel submenus on hover */
.site-header .sub-menu .menu-item-has-children:hover > .sub-menu,
.site-header .sub-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- DROPDOWN INDICATORS ---------- */

/* Top Level Dropdown Arrow */
.site-header .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform var(--menu-transition-speed) var(--menu-transition-easing);
}

.site-header .menu-item-has-children:hover > a::after,
.site-header .menu-item-has-children.focus > a::after {
  transform: rotate(-135deg);
}

/* Submenu Right Arrow */
.site-header .sub-menu .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  margin-left: auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-bottom: none;
  position: absolute;
  right: 1rem;
  top: calc(50% - 0.2em);
}

/* ---------- DROPDOWN TOGGLE (MOBILE) ---------- */

/* Dropdown Toggle Button */
.site-header .dropdown-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid var(--menu-border);
  cursor: pointer;
  color: var(--menu-primary);
  z-index: 10;
}

.site-header .dropdown-toggle::before {
  content: "+";
  font-size: 20px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--menu-transition-speed) var(--menu-transition-easing);
}

.site-header .dropdown-toggle.toggled-on::before {
  content: "−";
}

.site-header .dropdown-toggle:hover,
.site-header .dropdown-toggle:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

/* ---------- SEARCH ICON ---------- */

/* Search Toggle Button */
.site-header .search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0 1rem;
  height: var(--menu-item-height);
  color: var(--menu-text);
  text-decoration: none;
  transition: color var(--menu-transition-speed) var(--menu-transition-easing);
  position: absolute;
  right: 0;
  top: 0;
}

.site-header .search-toggle:hover,
.site-header .search-toggle:focus {
  color: var(--menu-primary);
}

.site-header .search-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ---------- MENU ITEM INDICATORS ---------- */

/* Current Menu Item Indicator - Unique colors */
.site-header .nav-menu > .menu-item:nth-child(1) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(1) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(1) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-1);
}

.site-header .nav-menu > .menu-item:nth-child(2) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(2) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(2) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-2);
}

.site-header .nav-menu > .menu-item:nth-child(3) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(3) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(3) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-3);
}

.site-header .nav-menu > .menu-item:nth-child(4) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(4) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(4) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-4);
}

.site-header .nav-menu > .menu-item:nth-child(5) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(5) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(5) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-5);
}

.site-header .nav-menu > .menu-item:nth-child(6) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(6) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(6) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-6);
}

.site-header .nav-menu > .menu-item:nth-child(7) > a:hover,
.site-header .nav-menu > .menu-item.current-menu-item:nth-child(7) > a,
.site-header .nav-menu > .menu-item.current-menu-ancestor:nth-child(7) > a {
  box-shadow: inset 0 -3px 0 var(--menu-indicator-7);
}

/* ---------- ACCESSIBILITY STATES ---------- */

/* Accessibility Focus States */
.site-header .nav-menu a:focus,
.site-header .dropdown-toggle:focus,
.site-header .search-toggle:focus {
  outline: 2px solid var(--menu-primary);
  outline-offset: -2px;
}

/* ---------- MOBILE STYLES ---------- */
@media (max-width: 767px) {
  /* Show menu toggle */
  #menu-toggle {
    display: inline-flex;
    align-items: center;
  }
  
  /* Reset fixed heights for mobile */
  .site-header .site-header-main,
  .site-header .nav-menu > .menu-item,
  #site-header-menu {
    height: auto !important;
    min-height: auto;
  }
  
  /* Hide menu by default */
  .site-header #site-header-menu {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: var(--menu-box-shadow);
    z-index: 100;
    padding-right: 0;
  }
  
  .site-header #site-header-menu.toggled-on {
    display: block;
  }
  
  /* Mobile menu container */
  .site-header .site-header-main {
    min-height: 3.5rem;
  }
  
  /* Rearrange navigation */
  .site-header .menu-container {
    flex-direction: column;
    width: 100%;
  }
  
  .site-header .nav-menu {
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 0;
  }
  
  .site-header .nav-menu > .menu-item {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--menu-border);
    max-height: none;
    display: block;
  }
  
  .site-header .nav-menu > .menu-item > a {
    padding: var(--menu-padding-y) var(--menu-padding-x);
    width: calc(100% - 48px);
  }
  
  .site-header .menu-item:not(.menu-item-has-children) > a {
    width: 100%;
    max-width: calc(100% - 48px);
  }
  
  .site-header .sub-menu li {
    max-width: calc(100% - 48px);
  }
  .site-header .sub-menu .menu-item a {
  }
  /* Show dropdown toggles */
  .site-header .dropdown-toggle {
    display: block;
  }
  
  /* Reset dropdown positioning */
  .site-header .nav-menu > .menu-item > .sub-menu,
  .site-header .nav-menu > .menu-item > .sub-menu .sub-menu {
    position: static;
    width: 100%;
    left: auto;
    top: auto;
  }
  
  .site-header .sub-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: #f5f5f5;
  }
  
  .site-header .sub-menu.toggled-on {
    display: block;
  }
  
  /* Adjust submenu items */
  .site-header .sub-menu .menu-item a {
    padding-left: calc(var(--menu-padding-x) * 2);
    max-width: calc(100% - 48px);
  }
  
  .site-header .sub-menu .sub-menu .menu-item a {
    padding-left: calc(var(--menu-padding-x) * 3);

  }
  
  /* Add submenu indicators */
  .site-header .sub-menu .menu-item a::before {
    content: "›";
    color: var(--menu-primary);
    margin-right: 0.5rem;
  }
  
  /* Hide desktop dropdown arrow indicator */
  .site-header .menu-item-has-children > a::after {
    display: none !important;;
  }
  
  /* Override desktop indicator colors */
  .site-header .nav-menu > .menu-item:nth-child(1) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(2) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(3) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(4) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(5) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(6) > a:hover,
  .site-header .nav-menu > .menu-item:nth-child(7) > a:hover,
  .site-header .nav-menu > .menu-item.current-menu-item > a,
  .site-header .nav-menu > .menu-item.current-menu-ancestor > a {
    box-shadow: none;
    border-left: 3px solid var(--menu-primary);
    padding-left: calc(var(--menu-padding-x) - 3px);
  }
  
  /* Position search icon properly */
  .site-header .search-toggle {
    position: absolute;
    top: 0.6rem;
    right: 5rem;
  }
  
  /* Touch optimized tap targets */
  .site-header .nav-menu > .menu-item > a,
  .site-header .sub-menu .menu-item a,
  .site-header .dropdown-toggle {
    min-height: 2rem;
  }
}

/* ---------- TOUCH DEVICE OPTIMIZATIONS ---------- */
@media (hover: none) {
  .site-header .menu-item-has-children > a {
    padding-right: calc(var(--menu-padding-x) * 1.5);
  }
  
  .site-header .dropdown-toggle {
    width: 4rem;
  }
}

/* ---------- REDUCED MOTION SUPPORT ---------- */
@media (prefers-reduced-motion: reduce) {
  .site-header .site-header-menu,
  .site-header .sub-menu,
  .site-header .menu-toggle-icon span,
  .site-header .nav-menu > .menu-item > a,
  .site-header .sub-menu .menu-item a,
  .site-header .dropdown-toggle::before,
  .site-header .menu-item-has-children > a::after {
    transition: none;
  }
  
  .site-header .site-header-menu.toggled-on,
  .site-header .sub-menu.toggled-on {
    animation: none;
  }
}

/* = Content
-------------------------------------------------------------- */

#content {
	padding-bottom:2em;
	min-height:380px;
	
}

#content article {
	margin-bottom:1em;
}

#content h1 { 
	color: #0070c0;
}

h1.entry-title { 
	margin: 0.3em 0 0.9em 0;
}

h1.entry-title-single, 
body.single h1.entry-title,
#content .archive-hl,
.search-results .page-header {
    margin: 0em 0 0.9em 0;
    background-image: linear-gradient(-45deg, #003f7a 20%, #0070c0 100%);
	color: #fff !important;
    padding: 20px 10px 5px 10px
}

.entry-content h2, .entry-summary h2  {
	border-bottom:1px dotted #333;
	margin: 2em 0 0.8em 0;
}

.entry-content h3, .entry-summary h3  { 
	margin: 0.5em 0 0.75em 0; 
	padding: 0; 
	font-weight:normal;
	font-style: italic;
}

#content .entry-content, #content .entry-summary { 
	font-size: var(--copy);
	line-height: 1.4em;
	hyphens:auto;
    -webkit-hyphens:auto;
    -webkit-hyphenate-character:"\2010";
    -webkit-hyphenate-limit-after:1;
    -webkit-hyphenate-limit-before:3;
    -moz-hyphens:auto;
}

#content .event {
    margin: 0em 0 0.9em 0;
	background-image: linear-gradient(-45deg, #ccc 20%, #ededed 100%);
    padding: 20px 10px 5px 10px
}


#content .personen-list {
	color:#333;
	font-size: var(--small);
  display: block;
}


.entry-summary { 
	padding-bottom:5px;
	border-bottom: 1px solid #ccc;
	border-image: linear-gradient(to right, #ededed , #ccc );
	border-image-slice: 1;
	display: flex;
	flex-wrap: wrap;
}

.entry-content p {
	padding: 0 0 0.85em 0;
	margin:0;
}


.entry-summary p {
	padding: 0 0 0.25em 0;
	margin: 0;
	flex: 1 450px;
}

#content .entry-summary .entry-summary, 
#content .entry-content .entry-summary {  /* Home fix */
	font-size: var(--copy);
}

#content .entry-content img {
	margin-bottom:10px;
}
#content .entry-summary img {
	margin: 3px 10px 3px 0;
	flex: 1 150px;
	width: 150px;
	max-height: 150px;
	object-fit:cover;
}

.wp-caption .wp-caption-text {
    font-size: var(--xsmall);
    line-height: 1;	
}

@media screen and (max-width:768px) {
	#content .entry-summary img {
		max-width: 150px;
	}
	#content .entry-summary p {
		flex: 1 250px;
	}
}

#cboxOverlay { opacity:0.4 !important;}
#cboxLoadedContent img { max-height:100% !important; }

#content table {
	padding: 0;
	margin:0;	
}
#content tr:nth-child(2n+3) {
	background:#ededed;
}
#content .type-mitarbeiter tr:nth-child(2n+1) {
	background:#ededed;
}

#content table td,#content table td  {
  padding: 5px;
}
#content table th {
  text-align:left;
  background: var(--primary);
  color: white;
  padding: 5px;
}

@media only screen and (max-width: 480px) {
	#content table {
		width: 100%; 
	}
	#content th {
		display:none;
	}
	#content td {
		display:block;	
		padding: 0 10px;
	}
	#content td:first-of-type {
		padding: 5px 10px 0 10px;
		width: 100%;
	}
	#content td:last-of-type {
		padding: 0 10px 5px 10px;
	}
	
}




#content .richdata th, #content .richdata td {
	font-size: var(--xsmall); vertical-align:top;
}
#content .entry-meta { 
	font-size: var(--xsmall);
	display:inline;
}
#content .entry-author { 
	font-size: var(--copy);
	display:inline;
}


#content .entry-type {
	font-family: 'Lato', Helvetica,  Arial, Verdana, sans-serif; 
	float:right;
	font-size: var(--xsmall);
	display:inline;
	padding: 0 5px;
	position:relative;
	background-color:#d7dfe6;
}

#content .entry-type:before {
   content:"";
   position:absolute;
   top:0;
   right:0;
   border-width:0 3px 3px 0;
   border-style:solid;
   border-color:#fff #fff #e4edf4 #e4edf4;
   background:#e4edf4;
   -webkit-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
   -moz-box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
   box-shadow:0 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.2);
   display:block; width:0; /* Firefox 3.0 damage limitation */
}

#content div.aktuelles { color:#16a085; }
#content div.publikationen { color:#c0392b; }
#content div.mitarbeiter { color:#3498db; }
#content div.projekte { color:#9b59b6; }
#content div.seite { color:#f1c40f; }

#content .entry-type a { color:inherit !important; }

/*
#content .entry-summary p a:hover:before { 
	content:"\00a0\203a";
}
*/

#content .entry-content p a:not(>img):before, #content .entry-summary p a:not(>img):before { 
	content:"\203a\00a0";
}
#content .entry-content p a:hover, #content .entry-summary p a:hover { 
	text-decoration:none;
}
#content .entry-content p a:not(>img):hover:before, #content .entry-summary p a:not(>img):hover:before { 
	content:"\00a0\203a";
}

#content .entry-content p a:not(>img):hover:before, #content .entry-summary p a:not(>img):hover:before { 
	content:"\00a0\203a";
}

#content p a.furl:hover::before {	
	content:"";
	text-decoration: underline;
}
#content p a.furl:hover {	
	content:"";
	text-decoration: underline;
}



/*** --- LISTEN-STILE ---***/

#content .entry-content ul, 
#content .entry-summary ul,
#content .cluster-list ul,
#content .publikation-list ul {
	list-style:url(img/discfirst.png);
	padding: 0 0 0 1em;
}
#content .entry-content ul {
	margin-bottom:1.2em;
	margin-top:-0.4em;
}
#content .entry-summary ul {
	margin:0.2em 0 0.85em 0;
	flex: 1 100%;
	
}
#content .entry-content ol, 
#content .entry-summary ol  {
	padding:0 0 0 1em;
	margin:0 0 0.85em 0;
}

#content .entry-content ul li:last-child, 
#content .entry-summary ul li:last-child {
	margin-bottom:0;
}

#content .cluster-list li,
#content .publikation-list li{
	margin:0 0 0.5em 0;
}
#content ul ul {
	list-style:url(img/discsecond.png);
}


h2.cluster-title, h2.format-title  {
	margin-top:2.4em;
	transition: all linear 0.5s;
}
h2.cluster-title:hover { }

h3.cluster-hl, h3.list-heading { 
	margin: 2em 0 1em 0; 
}


.cluster-list li a {  }

.cluster-hl .past { cursor:pointer; }

a.cluster-title-link  { text-decoration:none; }
a.cluster-title-link:hover  { /* padding-left:3px;*/ cursor:pointer; }
a.cluster-title-link::after  { 
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
    content: "\f11b";
	opacity:0.6;
	text-decoration:none;
	margin: 0px 0 0 4px;
    background: none;
}
a.cluster-title-link:hover::after  { 
	opacity:1;
}

a.cluster-past-link  { text-decoration:none; }
a.cluster-past-link:hover  { padding-left:3px; cursor:pointer; }

.cluster-list.past { display:none; }

#content .event h1, #content .archive-hl h1, .search-results h1.page-title {
	color: #fff !important;
}

#content .event:after {
   content:"";
}

#content .event h3 {
	font-weight:bold;
}

.su-spoiler-title { font-size: var(--copy) !important; }


.su-spoiler-icon::before, .su-spoiler-title:hover {
  color: var(--primary);
}
.su-spoiler-content {
	margin: 0 !important; padding: 5px !important;
	transition: 0.7s !important;
}

.no-icon::after { content: "" !important; background: none !!important; padding: 0 !important; }

a.pdf::after {
    display: inline-block; /* Besser als 'inherit', um die Ausrichtung zu steuern */
    content: "\00a0\00a0\00a0\00a0\00a0\00a0\00a0"; /* Erzeugt den notwendigen Platz */
    font-weight: normal !important;
    font-style: normal !important;
    text-transform: none !important;
    vertical-align: middle; /* Verbessert die vertikale Ausrichtung des gesamten ::after-Elements */
    font-size: 16px; 
    opacity: 0.6;
    text-decoration: none;
    margin: 0px 4px 0 0; /* Abstand zum Text vor dem ::after-Element */
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='16px' height='16px' viewBox='0 0 459 459' style='enable-background:new 0 0 459 459;' xml:space='preserve'%3E%3Cg%3E%3Cg id='drive-pdf'%3E%3Cpath fill='%23DE2D26' d='M211.65,142.8L211.65,142.8C214.2,142.8,214.2,142.8,211.65,142.8c2.55-10.2,5.1-15.3,5.1-22.95v-5.1 c2.55-12.75,2.55-22.95,0-25.5c0,0,0,0,0-2.55l-2.55-2.55l0,0l0,0c0,0,0,2.55-2.55,2.55C206.55,102,206.55,119.85,211.65,142.8 L211.65,142.8z M135.15,318.75c-5.1,2.55-10.2,5.1-12.75,7.65c-17.85,15.3-30.6,33.149-33.15,40.8l0,0l0,0l0,0 C104.55,364.65,119.85,349.35,135.15,318.75C137.7,318.75,137.7,318.75,135.15,318.75C137.7,318.75,135.15,318.75,135.15,318.75z M369.75,280.5c-2.55-2.55-12.75-10.2-48.45-10.2c-2.55,0-2.55,0-5.1,0l0,0c0,0,0,0,0,2.55c17.85,7.65,35.7,12.75,48.45,12.75 c2.55,0,2.55,0,5.1,0l0,0h2.55c0,0,0,0,0-2.55l0,0C372.3,283.05,369.75,283.05,369.75,280.5z M408,0H51C22.95,0,0,22.95,0,51v357 c0,28.05,22.95,51,51,51h357c28.05,0,51-22.95,51-51V51C459,22.95,436.05,0,408,0z M379.95,300.9c-5.101,2.55-12.75,5.1-22.95,5.1 c-20.4,0-51-5.1-76.5-17.85c-43.35,5.1-76.5,10.199-102,20.399c-2.55,0-2.55,0-5.1,2.55c-30.6,53.551-56.1,79.051-76.5,79.051 c-5.1,0-7.65,0-10.2-2.551l-12.75-7.649v-2.55c-2.55-5.101-2.55-7.65-2.55-12.75c2.55-12.75,17.85-35.7,48.45-53.551 c5.1-2.55,12.75-7.649,22.95-12.75c7.65-12.75,15.3-28.05,25.5-45.899c12.75-25.5,20.4-51,28.05-73.95l0,0 c-10.2-30.6-15.3-48.45-5.1-84.15c2.55-10.2,10.2-20.4,20.4-20.4h5.1c5.1,0,10.2,2.55,15.3,5.1c17.851,17.85,10.2,58.65,0,91.8 c0,2.55,0,2.55,0,2.55c10.2,28.05,25.5,51,40.8,66.3c7.65,5.1,12.75,10.2,22.95,15.3c12.75,0,22.95-2.55,33.15-2.55 c30.6,0,51,5.1,58.649,17.85c2.551,5.101,2.551,10.2,2.551,15.3C387.6,288.15,385.05,295.8,379.95,300.9z M214.2,201.45 c-5.1,17.85-15.3,38.25-25.5,61.2c-5.1,10.199-10.2,17.85-15.3,28.05h2.55h2.55l0,0c33.15-12.75,63.75-20.4,84.15-22.95 c-5.101-2.55-7.65-5.1-10.2-7.65C239.7,244.8,224.4,224.4,214.2,201.45z'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: 4px 2px; 
    background-size: 16px 16px; /* Definiert die Größe des SVG-Icons */
}

a.pdf:hover:after { 
	opacity:1;
	text-decoration:none;
}
/*a.external:after {
	display:inherit;
    content: "\00a0\00a0\00a0\00a0\00a0";
    background: transparent url('img/external.png') no-repeat 4px 0px;
	opacity:0.6;
	text-decoration:none;
}*/
a.external:after, a.pdf.external:after {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
    content: "\f12c";
	opacity:0.6;
	text-decoration:none;
	margin: 0px 0 0 4px;
    background: none;
}
a.external:hover:after { 
	opacity:1;
	text-decoration:none;
}
a.calendar { font-size: var(--small); padding:1px 0; }
a.calendar:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
    content: "\f135";
	opacity:0.6;
	text-decoration:none;
	background: none;
	
}
a.calendar:hover:before { 
	opacity:1;
	text-decoration:none;
}
.phone:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
	content: "\f141";
	color: #0070c0;
    /*content: "\00a0\00a0\00a0\00a0\00a0";
    background: transparent url('img/icon_telefon.png') no-repeat 4px 0px;*/
	padding-right:5px;
}
.fax:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
	content: "\f142";
	color: #0070c0;
    /*content: "\00a0\00a0\00a0\00a0\00a0";
    background: transparent url('img/icon_fax.png') no-repeat 4px 0px; */
	padding-right:5px;
}
.mail:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inline;
	content: "\f125";
	color: #0070c0;
    /*content: "\00a0\00a0\00a0\00a0\00a0";
    background: transparent url('img/icon_mail.png') no-repeat 4px 0px;*/
	padding-right:5px;
}

.widget-english { text-align: right; margin: 10px 0; }
a.english { font-size: 18px; }
a.english::after { 
	display:inherit;
    content: "\00a0\00a0\00a0\00a0\00a0";
	padding: 0 5px;
    background: transparent url('img/pdf.png') no-repeat 4px 0px;
	background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 15.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='24.75px' height='19.854px' viewBox='2.334 48.479 24.75 19.854' enable-background='new 2.334 48.479 24.75 19.854' xml:space='preserve'%3E%3Cpath fill='%230070c0' d='M3.796,48.479h22.011c0.701,0,1.277,0.574,1.277,1.275v17.451c0,0.701-0.573,1.274-1.277,1.274H3.796 c-0.701,0-1.274-0.573-1.274-1.274V49.754C2.522,49.053,3.095,48.479,3.796,48.479L3.796,48.479z'/%3E%3Cpolygon fill='%23FFFFFF' points='7.738,54.763 13.89,54.763 13.89,56.352 10.043,56.352 10.043,57.536 13.607,57.536 13.607,59.052 10.043,59.052 10.043,60.517 14.001,60.517 14.001,62.201 7.738,62.201 7.738,54.763 '/%3E%3Cpolygon fill='%23FFFFFF' points='14.76,54.763 16.906,54.763 19.695,58.871 19.695,54.763 21.865,54.763 21.865,62.201 19.695,62.201 16.922,58.114 16.922,62.199 14.76,62.199 14.76,54.763 '/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position-x: 4px;
	opacity:0.8;
	text-decoration:none;
}
a.english:hover::after { 
	opacity:1;
	text-decoration:none !important;
}

.print-page a:before,,
.printfriendly a:before, 
.printfriendly a.external:after, 
a.external.img-link:after,
a.pdf.img-link:after,
#content a.img-link:before, 
#access a.external:after { 
	content:"" !important;
}

#nav-below { font-size: var(--small);}

.bx-viewport { border:none !important; position:relative; }

ul.bxslider { padding:0 !important; margin:0 !important; display:none; }
.bxslider li { position:relative; }
.bxslider h2 {
	position:absolute;
	z-index:99;
	bottom:0;
	left:0;
	width:96%;
	border-bottom:none !important;
	font-size: 20px;
	padding:1em 1em 0.3em 1em; margin:0 !important; 
	background: rgb(0, 69, 134) transparent;
	background: rgba(0, 69, 134, 0.6);
}
.bxslider h2 a{
	color:#fff;
}

.bxslider .slide-projects {
	position:absolute;
	z-index:99;
	max-width:444px;
	top:1em;
	right:1em;
	background: rgb(0, 69, 134) transparent;
	background: rgba(0, 69, 134, 0.6);
	visibility:hidden;
	opacity:0;
	transition:opacity 0.3s ease-out;
}
.bxslider:hover .slide-projects {
	visibility:visible;
	opacity:1;
}
.bxslider .slide-projects ul {
	padding:0 0.5em;
	list-style:none;
}
.bxslider .slide-projects ul li {
	padding:0;
	margin:0.5em 0 0 0;
	list-style:none;
	font-size: 0.9em; line-height:0.9em;
}
.bxslider .slide-projects ul {
	padding-top:0.5em;
}
.bxslider .slide-projects ul li:last-child {
	margin-bottom:0.5em;
}
.bxslider .slide-projects a {
	color:#fff;
	
	text-decoration:none;
}
.bxslider .slide-projects a:before { 
	content:"\203a\00a0";
}
.bxslider .slide-projects a:hover:before, 

.bxslider .bx-pager { text-align:left; }

.page .bx-pager { display:none; }

.bx-wrapper .bx-controls-direction a {
  z-index: 9;
}


/* ENTRY FOOTER */
.entry-footer { 
	background: #dadada; 
	padding: 1em 50px 0.75em 50px;
	font-family: 'Lato', Helvetica,  Arial, Verdana, sans-serif; 
	background: #dadada;
	background-image: linear-gradient(-45deg, #ccc 10%, #ededed 100%);
}
.top-link { float:right; font-size:12px; }
.breadcrumbs {
	padding: 0;
	margin:0;
	font-size: var(--small);
}

.printfriendly,  .print-page {
	margin: 0.4em 0;
	font-size: var(--small);
}
.printfriendly:before, .print-page:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 16px;
	display:inherit;
    content: "\f142";
	opacity:0.6;
	text-decoration:none;
	margin: 0px 4px 0 0;
    background: none;
	display: inline;
	color: #0070c0;
}
.printfriendly:hover:before, .print-page:hover:before{
	opacity:1;
}

/* Other Loop */
.video-item  {
	list-style: none;
    padding: 0;
    /* margin: 0 0 2em -1em; */
}

/* Pagination */
#pagination {
    font-size: var(--small);
}
#pagination .numbers {
	padding: 3px 0;
    margin: 0 3px;
    border-width: 1px;
    border-style: solid;
    background-color: rgb(255, 255, 255);
    border-color: rgb(0, 69, 134);
}
#pagination .one_page { font-weight:bold; }
#pagination .numbers:hover{
    background-color: rgb(153,153,153);
	color:#fff;
}
#pagination .numbers a {
	padding: 3px 4px;
}

#pagination .numbers:hover a{
	color:#fff;
	text-decoration:none;
}

#pagination .current a {
	color:#fff;
}

#pagination .current {
    margin: 0 3px;
	padding: 3px 4px;
    border-width: 1px;
    border-style: solid;
    background-color: rgb(0, 69, 134);
    border-color: rgb(0, 69, 134);
    color: rgb(255, 255, 255);
}



/* = Sidebar
-------------------------------------------------------------- */


aside {
    padding: 1em 1em 0.5em 1em;
	margin-bottom:1em;
	background:#dadada;
	background-image: linear-gradient(-45deg, #ccc 20%, #ededed 100%);
	hyphens:auto;
    -webkit-hyphens:auto;
    -webkit-hyphenate-character:"\2010";
    -webkit-hyphenate-limit-after:1;
    -webkit-hyphenate-limit-before:3;
    -moz-hyphens:auto;
	position:relative;
}
aside#box-print {
    padding: 0.5em 1em;
}

aside:before {
   content:"";
   position:absolute;
   top:0;
   right:0;
   border-width:0 16px 16px 0;
   border-style:solid;
   border-color:#fff #fff #ededed #ededed;
   background:#ededed;
}

aside p img { margin:0; }

.widget-area h2 {
	font-size: var(--default);
	border-bottom:1px dotted #333;
	margin:0;
	margin-bottom:1em;
	color:#34495e;
}
.widget-area h3 { 
	color:#34495e;
}

.widget-area .widget-text {
	font-size: var(--copy);
	line-height: 1.4em;
	margin:0;
	margin-bottom:0.5em;
	color:#34495e;
}


aside#statistik {
  background-image: linear-gradient(rgba(218, 218, 218, 1), rgba(218, 218, 218, 0.85)), url(img/zahlenmosaik.jpg);
}

.count-up {
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.count-up.visible {
    opacity: 1;
}

#newsletter_subscribe:hover { cursor:pointer; }
#newsletter_form { display:none; }

aside ul, #comments ul {
	list-style:url(img/discfirst.png);
	padding:0 0 0 1em;
	margin: 0;
	    font-size: var(--copy);
}

aside ul ul, #comments ul ul {
	list-style:url(img/discsecond.png);
	padding:0 0 0 1em;
	margin: 0;
}

aside#kontaktinfo ul { list-style:none; padding:0;	margin: 0; }
aside#kontaktinfo ul > li {
	padding-left: 21px;
	text-indent: -21px;
}
 
/* aside#newsletter .widget-text { font-size: var(--small); } */

.single aside#post-thumb-downloads h2.widget-title,
.single aside#kontaktinfo h2.widget-title { padding-top: 1em; }
		

#newsletter_subscribe, .wpcf7-submit, #anmelden, .button {
	font-family: 'Lato', sans-serif;
	font-size: var(--copy);
	line-height: 1.4em;
	background-image: linear-gradient(-45deg, #003f7a 20%, #0070c0 100%);
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #dcdcdc;
	display:inline-block;
	padding:2px 6px;
	text-decoration:none;
	color:#fff;
	transition: 0.7s;
		
}
/* --- BASIS-STIL: .button.light --- */
.button.light {
    /* Ausgangszustand: Hellgrau mit gutem Kontrast zum schwarzen Text */
    background-image: linear-gradient(-45deg, #e6e6e6 20%, #ffffff 100%); /* Leichter von hell nach weiß */
    color: #333333; /* Etwas weicheres Schwarz für besseren Look */
    border: 1px solid #cccccc; /* Rahmen hinzufügen für bessere Abgrenzung */
    border-radius: 4px; /* Optional: Ecken leicht abrunden */
    padding: 10px 18px; /* Optional: Standard-Padding */
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease-in-out; /* Für sanftere Übergänge */
}

/* --- HOVER-STIL: .button.light --- */
.button.light:hover {
    /* Option A: "Gedrückt"-Effekt (Gradient wird dunkler) */
    background-image: linear-gradient(-45deg, #cccccc 20%, #e0e0e0 100%); 
    color: #000000; 
    border-color: #999999;
    
    /* WICHTIG: Überschreiben Sie KEINE generischen Hover-Effekte, 
       die nicht zu diesem Button gehören. */
    cursor: pointer; 
}

.download-button::before {
  font-family: fico;
  font-weight: normal !important;
  font-style: normal !important;
  text-transform: none !important;
  vertical-align: baseline;
  font-size: 16px;
  content: "\f138"; 
  opacity: 0.8;
  text-decoration: none;
  margin: 0px 4px 0 0;
  display: inline-block;
  color: #0070c0;
}

#anmelden:hover, #newsletter_subscribe:hover, .wpcf7-submit:hover, .button:hover{
  background-image: linear-gradient(-45deg, #0070c0 20%, #003f7a 100%);
  cursor:pointer;
}

#access #searchform { opacity:0.6; }
#access #searchform:hover { opacity:1; }
#access #searchform:focus { opacity:1; }

#searchsubmit:active {
	position:relative;
	top:1px;
}

/*#access #searchform input#s { width:4em; }
#access #searchform input:focus#s { width:8em; } */
#searchform input#s, input[type="text"], input[type="email"] {
	font-family: 'Lato', sans-serif;
	font-size: var(--default);
    -moz-box-flex: 1;
    padding: 10px;
    background: none repeat scroll 0% 0% padding-box rgba(255, 255, 255, 0.9);
    border-width: 1px;
    border-style: solid;
    -moz-border-top-colors: none;
    -moz-border-right-colors: none;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    border-image: none;
    border-color: rgba(23, 51, 78, 0.15) rgba(23, 51, 78, 0.17) rgba(23, 51, 78, 0.2);
    box-shadow: 0px 1px 0px rgba(8, 22, 37, 0.02) inset, 0px 0px 2px rgba(8, 22, 37, 0.1) inset, 0px 1px 0px rgba(255, 255, 255, 0.2);
    border-radius:3px;
	margin-right:1px;
	margin-top:1px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
#searchform input:focus#s {
	
}

#searchform {  }



a#open-search-wrapper {
	font-size: 24px;
	display:inherit;
	width:24px;
	height:24px;
	/*background: transparent url('img/icon_search.png') no-repeat 0px 0px;*/
	margin-top:8px;
	margin-right:50px;
	padding:0;
	float:right;
	opacity:0.7;
}
a#open-search-wrapper:before {
	font-family: fico;
	font-weight: normal !important;
	font-style: normal !important;
	text-transform: none !important;
	vertical-align: baseline;
	font-size: 24px;
	display:inherit;
    content: "\f134";
	margin-top: -12px;
}
#open-search-wrapper:hover {
	opacity:1;
}


.search-wrapper {
	display: none;
	width: 100%;
	height:80px;
	font-weight: bold;
	padding:0 50px 15px 50;
}
.search-wrapper .search-form { width: 100%;  }
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.search-wrapper .search-field {
	padding: 16px;
	margin: 0;
	background-color: #fff;
	border-color: #0c5586;
}

/*
button#searchsubmit {
	border: none;
	padding: 0 0 0 0;
	margin: 0;
	width: 28px;
	height: 28px;
	background: transparent url('img/right.png') no-repeat 0px 0px;
	opacity:0.8;
}
button#searchsubmit:hover {
	opacity:1;
}
*/
button#searchsubmit {
	border: none;
	width: 45px;
	height: 45px;
	display: inline;
	position: relative;
	background: none;
	padding-top: 10px;
}

.center-con {
    display: flex;
    align-items: center;
    justify-content: center;
}

.round {
    position: absolute;
    border: 2px solid #fff;
    width: 40px;
    height: 40px;
    border-radius: 100%;
	background: #0070c0;
	top:0;
    
}

#cta{
    width:100%; cursor: pointer; position: absolute;
}

#cta .arrow{left: 30%;}
.arrow {position: absolute; bottom: 0;  margin-left:0px; width: 12px; height: 12px; background-size: contain; top:15px;}
.segunda{margin-left: 8px;}
.next {
	background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHN0eWxlPi5zdDB7ZmlsbDojZmZmfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTMxOS4xIDIxN2MyMC4yIDIwLjIgMTkuOSA1My4yLS42IDczLjdzLTUzLjUgMjAuOC03My43LjZsLTE5MC0xOTBjLTIwLjEtMjAuMi0xOS44LTUzLjIuNy03My43UzEwOSA2LjggMTI5LjEgMjdsMTkwIDE5MHoiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMzE5LjEgMjkwLjVjMjAuMi0yMC4yIDE5LjktNTMuMi0uNi03My43cy01My41LTIwLjgtNzMuNy0uNmwtMTkwIDE5MGMtMjAuMiAyMC4yLTE5LjkgNTMuMi42IDczLjdzNTMuNSAyMC44IDczLjcuNmwxOTAtMTkweiIvPjwvc3ZnPg==);
}

@keyframes bounceAlpha {
  0% {opacity: 1; transform: translateX(0px) scale(1);}
  25%{opacity: 0; transform:translateX(10px) scale(0.9);}
  26%{opacity: 0; transform:translateX(-10px) scale(0.9);}
  55% {opacity: 1; transform: translateX(0px) scale(1);}
}

.round:hover .arrow{
    animation: bounceAlpha;
	animation-duration:1.4s;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}
.round:hover .arrow.primera{
    animation-delay:0.2s;
}



.tiles {
	display: grid;
	grid-gap: 15px;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	margin: 0 !important;
	padding: 0 !important;
}

.tile {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex-flow: column;
	position: relative;
	border-bottom: 1px solid #ccc;
	background: #ededed;
	background-size: cover;
	transition: 0.5sec all;
	min-height: 150px;
}
.tile a, .tile span, .tile .media-description { padding: 0 5px; }
.tile a { 
	font-weight: bold; 
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	transition:all 0.5s;
}
.tile a:hover { 
	-webkit-line-clamp: unset;
}
.tile .title { 
	font-size: var(--large);
	line-height: 1.2em;
	font-weight: bold;
	margin-bottom:5px;
}
.tile .description { 
	line-height: 1.1;
	font-size: 14px;
	visibility:hidden;
	bottom: 5px;
}
.tile:hover .description { 
	visibility:visible;
}

.tile .media-description { 
font-size: var(--
);
	width: 100%;
	max-height: 120px;
	object-fit: cover;
	opacity: 0.8;
	transition:all 0.5s;
}
.tile img:hover { 
	max-height: 220px;
	opacity: 1;
}

.tile .media-type {
    font-family: 'Lato', Helvetica, Arial, Verdana, sans-serif;
    font-size: var(--xsmall);
    display: inline;
    padding: 0 5px;
    position: absolute;
    background-color: #d7dfe6;
    z-index: 2;
    right: 0;
}

.media-type.video { background-color:#16a085; }
.media-type.flyer { background-color:#2ecc71; }
.media-type.poster { background-color:#3498db; }
.media-type.dokumentation { background-color:#9b59b6; }
.media-type.praesentation { background-color:#f1c40f; }

.grid {
  max-width: 100%;
}
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid-item { 
	float: left;
	width: calc(100% / 4.4);
	margin: 0 2% 2% 0;
}

/* 2 columns wide */
.grid-item--width2 { width: 50%; }


.ngrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 15px;
  max-width: 100%;
}

.ngrid-item {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	flex-flow: column;
	position: relative;
}


@media screen and (max-width: 767px) {
  .ngrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 2 columns wide */
.grid-item--width2 { width: 50%; }

.wrap {
   overflow: hidden;
}

.box {
   float: left;
   position: relative;
   width: 25%;
   width: calc(100% / 4.445);
    margin-right: 2.5%;
   padding-bottom: 20%;
   margin-bottom:10px;
   background-size: cover;
}
.boxInner {
     height: 100%;
}

.boxInner img {
   width: 100%;
}
.boxInner .titleBox {
	height: calc(100% - 20px);
   left: 0;
   right: 0;
   background: #999;
   background: rgba(0, 69, 134, 0.6);
   color: #FFF;
   padding: 10px;
   text-align: center;
   -webkit-transition: all 0.3s ease-out;
   -moz-transition: all 0.3s ease-out;
   -o-transition: all 0.3s ease-out;
   transition: all 0.3s ease-out;
}
.boxInner .titleBox:hover {
   background: rgba(0, 69, 134, 0.4);
}
.boxInner .titleBox a, .boxInner .titleBox h3 { color: #FFF !important; font-weight: bold; }

body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
   margin-bottom: 0;
}
@media only screen and (max-width : 480px) {
   /* Smartphone view: 1 tile */
   .box {
      width: 100%;
      padding-bottom: 100%;
   }
}
@media only screen and (max-width : 650px) and (min-width : 481px) {
   /* Tablet view: 2 tiles */
   .box {
      width: 50%;
      padding-bottom: 50%;
   }
}
@media only screen and (max-width : 1050px) and (min-width : 651px) {
   /* Small desktop / ipad view: 3 tiles */
   .box {
      width: 33.3%;
      padding-bottom: 33.3%;
   }
}
@media only screen and (max-width : 1290px) and (min-width : 1051px) {
   /* Medium desktop: 4 tiles */
   .box {
      width: 25%;
      padding-bottom: 25%;
   }
}

.su-pullquote-align-left, .su-pullquote-align-right { 
	border-left: none !important; 
	border-right: none !important; 
}

.su-pullquote {
    color: var(--primary);
    font-size: var(--larger);
    font-style: italic;
	border-top: 1px dotted #333;
	border-bottom: 1px dotted #333;
}

/* Bibtex Citation style */
pre {
	max-width: 100% !important;
	font-size: 12px;
	line-height: 1;
	background: #ededed;
	padding: 10px;
	border: 1px solid #ccc;
	/* white-space: pre-wrap; word-wrap: break-word; */ 
	overflow-x: scroll;
}

/* Sticky Box */
@media (min-width: 600px ) {
	.widget-siblings, .widget-subpages, .widget-sticky {
		position: sticky;
		top: 30px; 
		z-index: 99;
	}
}


/* = Plugin hacks
-------------------------------------------------------------- */


/* = Footer
-------------------------------------------------------------- */

#colophon {
	font-family: Arial, Arial, Helvetica, sans-serif;
	margin:0; 
	padding:0;
}

#nav-footer {
	height:auto;
	padding: 1em 40px;
	background:url(img/banner_footer_large.jpg);
	background-size: 100% auto;
	color:#fff;
}
#nav-footer  a {
	color:#fff;
}

#colophon .menu-footer {
	height:auto;
	background: rgb(0, 69, 134) transparent;
	background: rgba(0, 69, 134, 0.6);
	padding: 5px 10px;
}

#menu-hof_quicklinks {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr 1fr 1fr 1.2fr 0.8fr;
}


#colophon .menu-footer ul {
	list-style:none;
	font-size: var(--xsmall);
	padding:0;
	margin:0;
	
}

#colophon .menu-footer ul li {
	font-weight:bold;
	padding-bottom:3px;
	padding-right:6px;
}
#colophon .menu-footer ul>li:last-child {
	padding-right: 0;
}
#colophon .menu-footer ul li li {
	font-weight:normal;
}
#colophon .menu-footer ul ul {
	padding-top: 6px;
}


#site-generator {
	background: #0070c0;
	background-image: linear-gradient(-45deg, #003f7a 20%, #0070c0 100%);
	color:#fff;
	padding:8px 50px 1px 50px;
	font-size: var(--small);
	font-weight:normal;
	min-height:22px;
}


.scrollup { display:none; }

#scroll-top a {
	width:40px;
    height:40px;
    opacity:0.3;
    position:fixed;
	margin-left:auto;
	z-index:9999;
    bottom:50px;
    right:100px;
    display:none;
    background: url('img/top.png') no-repeat;
	
}

#scroll-top a:hover {
	opacity:0.5;
}
@media (max-width: 767px) {
	#scroll-top a { right: 20px; bottom: 20px; }
	
}

.says,
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

/* must have higher specificity than alternative color schemes inline styles */
.site .skip-link {
	background-color: #f1f1f1;
	box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.2);
	color: #21759b;
	display: block;
	font-family: "Helvetica Neue", sans-serif;
	font-size: var(--copy);
	font-weight: 700;
	left: -9999em;
	outline: none;
	padding: 15px 23px 14px;
	text-decoration: none;
	text-transform: none;
	top: -9999em;
}

.logged-in .site .skip-link {
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.2);
	font-family: "Open Sans", sans-serif;
}

.site .skip-link:focus {
	clip: auto;
	height: auto;
	left: 6px;
	top: 7px;
	width: auto;
	z-index: 100000;
}


/* Mobile styles for responsive layout
-------------------------------------------*/

.fade {
	opacity:0;
	-webkit-transition:opacity .15s linear;
	transition:opacity .15s linear;
}

.fade.in {
	opacity:1;
}


.collapse {
	display:none;
}

.collapse.in {
	display:block;
}

.collapsing {
	position:relative;
	height:0;
	overflow:hidden;
	-webkit-transition:height .35s ease;
	transition:height .35s ease;
}




@media (min-width:768px) {
	
	
}

@media (max-width:767px) {
	hgroup #site-title {
    font-size: 3.5em;
}
		
	a#open-search-wrapper {
		margin-top: 15px;
		margin-right: 15px;
		margin-bottom: 10px;
		opacity: 1;
	}
	button#searchsubmit {
		padding: 0;
		opacity: 1;
	}
}


@media screen and (max-width:768px) {
	
	
	#main .widget-area {
		clear:both;
	}
}



@media only screen and (max-width: 750px) {
	#page { margin: 0; }
	#site-description { display:none; }
	hgroup #site-title { right:16px; }
	#main {
		padding:16px;
	}
	#content {
		margin: 0;
	}
	#content {
		float:none;
	}	
	#main .widget-area {
		width:100%;
		max-width:100%;
	}
	#nav-footer, #nav-footer .menu-footer {
		height:auto;
		display:none;
		
	}
	#nav-footer .menu-footer:before,
	#nav-footer .menu-footer:after {
    content: " "; 
    display: table; 
	}
	#nav-footer .menu-footer:after {
    clear: both;
}

}
@media only screen and (max-width: 480px) {
	.scrollup{ display:none; }
	
}

@media print {
	#site-title, 
	#access, 
	.bx-wrapper, 
	#box-print { display:none; }
	aside:before, aside:after {
		background:none;
		box-shadow:none;
	}
	#content {
		margin: 0;
	}
	#content {
		float:none;
	}	
	#main .widget-area {
		width:auto;
	}
}


/* Styling für den Filter-Container */
.ajax-filter {
    margin-bottom: 20px;
}

/* Basis-Styling für alle Buttons */
.filter-button,
.filter-reset {
    display: inline-block;
    padding: 8px 16px;
    margin-right: 10px;
    margin-bottom: 10px;
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ccc;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover-Effekt für Buttons */
.filter-button:hover,
.filter-reset:hover {
    background-color: #e0e0e0;
}

/* Aktiver Zustand für Filter-Buttons */
.filter-button.active {
    background-color: #0070c0;
    color: white;
    border-color: #0070c0;
}

/* Spezielles Styling für den Reset-Button */
.filter-reset {
    background-color: #fff;
    border-color: #0070c0;
    color: #0070c0;
}

.filter-reset:hover {
    background-color: #f0f7ff;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .filter-button,
    .filter-reset {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}