/*
Theme Name: Kaempgen-Stiftung Theme
Theme URI:
Description: Kaempgen-Stiftung Theme
Author: Horschler Kommunikation GmbH
Author URI: https://horschler.eu
Template: unlimited
Version: 1.0.0
*/
.a11y-toolbar {
  top: 639px;
}
.a11y-toolbar ul li button {
  background: #004b80;
  color: #ffffff;
  transition: background 0.15s ease-in-out;
}
.a11y-toolbar ul li button:hover,
.a11y-toolbar ul li button:active,
.a11y-toolbar ul li button:focus {
  background: #0078cd;
  color: #ffffff;
}
.a11y-toolbar ul li button [class^="aticon-"]:before,
.a11y-toolbar ul li button [class*=" aticon-"]:before {
  color: #ffffff;
}
@media (max-width: 799px) {
  .a11y-toolbar {
    top: initial;
    bottom: 0;
  }
}
.fontsize h1,
.fontsize h2,
.fontsize h3,
.fontsize h4,
.fontsize h5,
.fontsize h6,
.fontsize p,
.fontsize li:not(.a11y-toolbar-list-item),
.fontsize label,
.fontsize input,
.fontsize select,
.fontsize textarea,
.fontsize legend,
.fontsize code,
.fontsize pre,
.fontsize dd,
.fontsize dt,
.fontsize blockquote {
  font-size: 130% !important;
}
body h1,
body h2,
body h3,
body h4 {
  color: #857723;
  font-weight: bold;
}
p {
  color: #004b80;
}
#main a {
  text-decoration: underline;
}
#site-title > a {
  max-width: 400px;
  display: block;
  margin: 0 auto;
}
body,
.site-header {
  background: #ededed;
}
a:link,
a:visited {
  color: #004b80;
  background: transparent;
}
a:hover,
a:active,
a:focus {
  color: #0078cd;
  text-decoration: none;
  background: #ededed;
}
input[type="submit"] {
  background: #004b80;
  color: #ffffff;
}
input[type="submit"]:hover,
input[type="submit"]:active,
input[type="submit"]:focus {
  background: #0078cd;
  color: #ffffff;
}
.site-header .social-media-icons a:link,
.site-header .social-media-icons a:visited {
  color: #004b80;
}
.site-header .social-media-icons a:hover,
.site-header .social-media-icons a:active,
.site-header .social-media-icons a:focus {
  color: #0078cd;
}
.site-header .search-form-container i {
  color: #004b80;
}
.site-header .search-form-container i:hover,
.site-header .search-form-container i:active,
.site-header .search-form-container i:focus {
  color: #0078cd;
}
.menu-primary-items a:link,
.menu-primary-items a:visited {
  text-transform: none;
  color: #004b80;
}
.menu-primary-items li:hover > a,
.menu-primary-items li.focused > a {
  color: #ffffff;
  background: #0078cd;
}
.menu-primary-items li:hover .toggle-dropdown,
.menu-primary-items li.focused .toggle-dropdown {
  color: #ffffff;
}
.menu-item-has-children ul .current-menu-item,
.menu-item-has-children ul .current_page_item {
  color: #ffffff;
  background: #004b80;
}
.menu-item-has-children ul .current-menu-item a:link,
.menu-item-has-children ul .current_page_item a:link,
.menu-item-has-children ul .current-menu-item a:visited,
.menu-item-has-children ul .current_page_item a:visited,
.menu-item-has-children ul .current-menu-item a:hover,
.menu-item-has-children ul .current_page_item a:hover,
.menu-item-has-children ul .current-menu-item a:active,
.menu-item-has-children ul .current_page_item a:active,
.menu-item-has-children ul .current-menu-item a:focus,
.menu-item-has-children ul .current_page_item a:focus {
  color: #ffffff;
  background: #004b80;
}
.menu-item-has-children ul .current-menu-item .toggle-dropdown,
.menu-item-has-children ul .current_page_item .toggle-dropdown {
  color: #ffffff;
}
.menu-item-has-children ul li {
  white-space: normal;
  text-align: left;
}
.menu-item-has-children ul a:link,
.menu-item-has-children ul a:visited {
  color: #004b80;
}
.menu-item-has-children ul a:hover,
.menu-item-has-children ul a:focus,
.menu-item-has-children ul a:active {
  color: #ffffff;
  background: #0078cd;
}
.current-menu-ancestor > a:link,
.current_page_ancestor > a:link,
.current-menu-ancestor > a:visited,
.current_page_ancestor > a:visited {
  color: #ffffff;
  background: #0078cd;
}
.current-menu-ancestor a:hover,
.current_page_ancestor a:hover,
.current-menu-ancestor a:focus,
.current_page_ancestor a:focus,
.current-menu-ancestor a:active,
.current_page_ancestor a:active {
  color: #ffffff;
  background: #0078cd;
}
.current-menu-ancestor .toggle-dropdown,
.current_page_ancestor .toggle-dropdown {
  color: #ffffff;
}
#sidebar-primary section {
  font-size: 0.95em;
}
#sidebar-primary section:first-of-type li {
  display: none;
}
#sidebar-primary section:first-of-type .current-menu-ancestor,
#sidebar-primary section:first-of-type .current_page_ancestor,
#sidebar-primary section:first-of-type .current-menu-item,
#sidebar-primary section:first-of-type .current_page_item {
  display: block;
}
#sidebar-primary section:first-of-type .current-menu-ancestor li,
#sidebar-primary section:first-of-type .current_page_ancestor li,
#sidebar-primary section:first-of-type .current-menu-item li,
#sidebar-primary section:first-of-type .current_page_item li {
  display: block;
}
#sidebar-primary section:first-of-type ul.sub-menu {
  position: relative;
  visibility: visible;
  opacity: 1;
  top: 0;
  z-index: 0;
  border: 0;
}
#sidebar-primary section li a {
  padding: 5px;
  display: block;
  text-align: left;
}
#sidebar-primary .qtranxs_widget ul li {
  display: list-item;
  opacity: 1;
}
#sidebar-primary ul {
  margin: 0;
}
.current-menu-item,
.current_page_item {
  color: #ffffff;
  background: #004b80;
}
.current-menu-item > a:link,
.current_page_item > a:link,
.current-menu-item > a:visited,
.current_page_item > a:visited,
.current-menu-item > a:hover,
.current_page_item > a:hover,
.current-menu-item > a:active,
.current_page_item > a:active,
.current-menu-item > a:focus,
.current_page_item > a:focus {
  color: #ffffff;
  background: #004b80;
}
.current-menu-item .toggle-dropdown,
.current_page_item .toggle-dropdown {
  color: #ffffff;
}
.post-meta {
  background: #004b80;
}
.widget {
  border-top: none;
}
.site-footer {
  background: #004b80;
}
.site-footer a {
  padding: 5px;
}
.site-footer a:link,
.site-footer a:visited {
  color: #ffffff;
  background: transparent;
}
.site-footer a:hover,
.site-footer a:active,
.site-footer a:focus {
  color: #004b80;
  background: #ffffff;
}
.footer-content {
  padding: 2.25em 3.125% 2.25em;
}
.design-credit {
  display: none;
}
#menu-footer {
  max-width: 100%;
  min-width: 320px;
  padding-bottom: 2.25em;
}
#menu-footer li {
  text-align: left;
  list-style-type: none;
}
#menu-footer a {
  padding: 5px;
  display: block;
}
#menu-footer a:link,
#menu-footer a:visited {
  color: #ffffff;
  background: transparent;
}
#menu-footer a:hover,
#menu-footer a:active,
#menu-footer a:focus {
  color: #004b80;
  background: #ffffff;
}
#menu-footer .menu-item-has-children ul {
  position: relative;
  visibility: visible;
  opacity: 1;
  top: 0;
  background: transparent;
  padding: 5px 15px;
  border: none;
  max-height: none;
}
#menu-footer::after {
  content: '';
  display: block;
  clear: both;
}
#menu-footer .current-menu-item,
#menu-footer .current_page_item,
#menu-footer .current-menu-ancestor,
#menu-footer .current_page_ancestor {
  background: transparent;
}
#menu-footer-items > li {
  width: 25%;
  float: left;
  min-width: 320px;
}
.top-image {
  margin: 0 3.125%;
}
.top-image img {
  max-width: 100%;
  height: auto;
}
.post-header {
  text-align: left;
}
.post-meta {
  display: none;
}
.blog .post-content,
.archive .post-content,
.search .post-content {
  text-align: left;
}
@media screen and (max-width: 799px) {
  .toggle-dropdown {
    background: #004b80;
  }
  .current-menu-item.menu-item-has-children ul,
  .current_page_item.menu-item-has-children ul {
    background: #ffffff;
    margin: 0;
  }
  #sidebar-primary .menu-item-has-children ul,
  #sidebar-primary .page_item_has_children ul {
    max-height: 790px;
  }
}
