/*
Theme Name: Elg
Theme URI: https://themes.lippe-net.de/wp-themes/Elg/
Version: 1.2.1
Author: Lippe-Net Bielefeld
Author URI: https://www.lippe-net.de/
Description: Theme für die Elg
Requires at least: WordPress 4.9.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Elg
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/
@import url('fonts/fonts.css');
* {
  box-sizing: border-box;
}
.boxshadowed {
  -webkit-box-shadow: 0 0 0.1875rem rgba(51, 51, 51, 0.3);
  -moz-box-shadow: 0 0 0.1875rem rgba(51, 51, 51, 0.3);
  box-shadow: 0 0 0.1875rem rgba(51, 51, 51, 0.3);
}
.headershadowed {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
}
.headermaxshadowed {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
}
.headernotshadowed {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
a:link,
a:visited {
  color: #95348b;
}
a:link {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
h1,
h2 {
  font-weight: normal;
}
h3,
h4,
h5,
h6 {
  font-weight: bold;
}
body {
  font-family: Vollkorn, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
}
body div.navspacer {
  display: box;
  height: 5.25rem;
}
body div.headerspacer {
  height: calc(5.25rem + 8rem);
}
body nav {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  z-index: 10001;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  text-align: right;
}
body nav div.logo {
  position: absolute;
  display: inline-block;
  left: 4.5rem;
  top: 1.0625rem;
  transition: left 0.6s;
  text-align: left;
  max-width: calc(22rem + 3rem + 0.5rem);
}
body nav div.logo img {
  width: auto;
  height: 3rem;
  vertical-align: middle;
  margin-right: .5rem;
}
body nav div.logo a:link,
body nav div.logo a:visited {
  color: #585a5a;
}
body nav div.logo span.text {
  display: inline-block;
  max-width: calc(100% - 3rem - 0.5rem);
  font-family: Arial, Helvetica, Sans-Serif;
  vertical-align: middle;
}
body nav div.logo span.text span.title {
  transition: font-size 0.4s, top 0.4s, max-width 0.4s;
  color: #585a5a;
  font-weight: bold;
  font-size: 1.2rem;
}
body nav div.logo span.text span.description {
  transition: font-size 0.4s, top 0.4s, max-width 0.4s;
  display: inline-block;
  color: #95348b;
}
body nav .menu-toggle {
  background-color: transparent;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #222;
  font-weight: 800;
  line-height: 1.5;
  margin: .8125rem 0 .75rem;
  padding: 1em;
  text-shadow: none;
}
body nav .menu-toggle img {
  vertical-align: -0.375rem;
  margin-right: .25rem;
}
body nav .menu-toggle[data-open="true"] img.open {
  display: none;
}
body nav .menu-toggle[data-open="false"] img.close {
  display: none;
}
body nav li:not(.current-menu-item):not(.current-menu-ancestor) > a,
body nav li:not(.current-menu-item):not(.current-menu-ancestor) > a:link,
body nav li:not(.current-menu-item):not(.current-menu-ancestor) > a:visited {
  color: #111;
}
body nav ul.menu {
  display: inline-block;
  line-height: 3rem;
  list-style: none inside;
  margin: 1.125rem 4.5rem 1.125rem;
  padding: 0;
}
body nav ul.menu span.open {
  display: none;
  border-left: inherit;
  width: 1.5rem;
  position: absolute;
  padding: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 2;
  cursor: pointer;
}
body nav ul.menu span.open .sronly {
  border: 0!important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  overflow: hidden!important;
  position: absolute!important;
}
body nav ul.menu span.open:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}
body nav ul.menu span.open:after {
  content: '';
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: .5rem;
  transform: rotate(135deg);
}
body nav ul.menu > li {
  position: relative;
  display: inline;
  margin: 0 1rem;
}
body nav ul.menu > li a:link {
  height: 100%;
  padding: .5rem;
  vertical-align: middle;
}
body nav ul.menu > li ul.sub-menu {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  display: none;
  list-style: none inside;
  margin: 0;
  padding: 0;
  z-index: 100;
}
body nav ul.menu > li ul.sub-menu li {
  margin: 0 2rem;
  white-space: nowrap;
  width: auto;
}
body nav ul.menu > li ul.sub-menu li a:link {
  width: 100%;
}
body nav ul.menu > li.root-clicked ul.sub-menu {
  display: block;
  position: absolute;
  text-align: left;
  background-color: #fff;
  border: solid .0625rem #ccc;
  left: 0;
  top: 1.25rem;
}
body nav.scrolled {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
}
body .swiper-container {
  width: 100%;
  height: 100%;
}
body .swiper-container .swiper-wrapper {
  width: 100%;
  height: 100%;
}
body .swiper-container .swiper-wrapper .swiper-slide {
  background-size: cover;
  background-position: center center;
  height: 100%;
  width: 100%;
}
body .swiper-container .swiper-wrapper .swiper-slide .swiper-lazy {
  width: 100%;
  height: 100%;
  background-size: cover;
}
body .swiper-container .swiper-wrapper .swiper-slide video {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: fill;
}
body .swiper-container .swiper-wrapper .swiper-slide .info {
  transition: font-size 0.4s;
  position: absolute;
  top: 2rem;
  left: 4rem;
  max-width: calc(100% - 28.5rem - 4rem - 4rem);
}
body .swiper-container .swiper-wrapper .swiper-slide .info.weiss {
  color: #fff;
}
body div.header {
  width: 100%;
}
body header {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.1875rem 0.1875rem rgba(0, 0, 0, 0.2);
  z-index: 10001;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
body header div.header {
  height: 8rem;
  overflow: visible;
  transition: height 0.5s;
}
body header nav,
body header nav.scrolled {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  position: relative;
}
body header.scrolled {
  transition: box-shadow 0.2s, -webkit-box-shadow 0.2s, -moz-box-shadow 0.2s;
  -webkit-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.625rem 0.625rem rgba(0, 0, 0, 0.2);
}
body header.flattened div.header {
  transition: height 0.5s;
  height: 0;
}
body main {
  font-family: 'Vollkorn', 'Times New Roman', 'Times', serif;
  font-size: 1.15em;
  min-height: calc(100vh - 5.25rem);
}
body main div.headerhero {
  position: relative;
  width: 100%;
  height: calc(100vh - 5.25rem);
}
body main div.headerhero div.widgetbox {
  transition: width 0.4s;
  overflow-y: hidden;
  position: absolute;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  height: 100%;
  width: 28.5rem;
  right: 4rem;
  top: 0;
}
body main div.headerhero div.widgetbox div.widget_recent_entries {
  padding: 0;
}
body main div.headerhero div.widgetbox div.widget_recent_entries ul {
  list-style: none inside;
  padding: 0;
  margin: 0;
}
body main div.headerhero div.widgetbox div.widget_recent_entries ul li {
  padding-left: 1rem;
  padding-bottom: 2rem;
}
body main div.headerhero div.widgetbox div.telefon {
  padding-left: 2.25rem;
  background-image: url(img/call.png);
  background-repeat: no-repeat;
  background-size: 1.5rem 1.5rem;
  background-position: .125rem .25rem;
}
body main div.headerhero div.widgetbox div.youtube img {
  margin-left: -1rem;
}
body main section {
  padding: 2rem 0;
}
body main section article ul.blogliste li a:first-child {
  font-size: 1.8em;
}
body main section article div.startnavi > div.uagb-section__inner-wrap {
  text-align: center;
}
body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement {
  display: inline-block;
  vertical-align: top;
  width: 32rem;
  height: 22rem;
  text-align: center;
}
body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement figure img {
  /*width: 22.5rem;
                                    height: 13.125rem;*/
  transition: width 0.4s, height 0.4s;
  width: 30rem;
  height: 17.5rem;
}
body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement figure figcaption {
  text-align: left;
  margin-top: 0;
  margin-bottom: .25rem;
}
body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement figure figcaption > a {
  font-size: 1.5rem;
}
body main section article div.gemeinden div.gemeinde {
  display: inline-block;
  vertical-align: top;
  height: 17rem;
  text-align: center;
}
body main section article p {
  line-height: 180%;
  margin-bottom: 1.3em;
}
body main section article .wp-block-group {
  margin-bottom: 4rem;
}
body main section article div.post {
  padding: 1rem 0;
}
body main section article div.post div.details {
  font-size: 80%;
  color: #777;
  vertical-align: top;
  display: inline-block;
  width: 20%;
  margin: 0;
}
body main section article div.post div.content {
  vertical-align: top;
  display: inline-block;
  width: 79%;
  margin: 0;
}
body main section article div.post div.content p {
  margin-top: 0;
}
body main section .aligncenter {
  text-align: center;
}
body main section.narrow {
  padding: 2rem 5rem;
}
body footer {
  background-color: rgba(0, 0, 0, 0.8);
}
body footer ul {
  margin: 0;
  line-height: 2rem;
  list-style: none inside;
  padding: 3rem 4.5rem;
}
body footer ul li {
  margin: 0 .5rem 0 0;
}
body footer ul li a:link,
body footer ul li a:visited {
  color: #fff;
}
body.page-template-startpage main {
  min-height: calc(100vh - 5.25rem /* - @flatFooterHeight*/);
}
body.page-template-startpage main div.headerhero {
  height: calc(100vh - 5.25rem /* - @flatFooterHeight*/);
}
body.page-template-startpage footer ul {
  padding: 1rem 4.5rem;
}
body.page-template-startpage footer ul li {
  display: inline;
}
body.noContent main {
  min-height: calc(100vh - 5.25rem - 4rem);
}
body.noContent main div.headerhero {
  height: calc(100vh - 5.25rem - 4rem);
}
body.noContent footer ul {
  padding: 1rem 4.5rem;
}
body.noContent footer ul li {
  display: inline;
}
body.startseite section h1 {
  margin-bottom: 7rem;
}
body.startseite section article {
  padding: 1rem 0 4rem;
}
body.startseite section article ul li > a:first-child {
  font-size: 1.5em;
}
.simcal-day-label {
  font-weight: bold;
}
.simcal-day-label .simcal-date-format {
  font-size: 1.5em;
}
@media screen and (max-width: 1200px) {
  body nav div.logo span.text span.description {
    font-size: .9em;
  }
}
@media screen and (max-width: 1110px) {
  body nav div.logo {
    max-width: calc(16rem + 3rem + 0.5rem);
    width: 16rem;
  }
  body nav div.logo span.text span.description {
    font-size: .7em;
    display: none;
  }
}
@media screen and (min-width: 64rem) {
  body nav .menu-toggle,
  body nav .dropdown-toggle {
    display: none;
  }
}
@media screen and (max-width: 80rem) {
  body nav div.logo span.title {
    transition: font-size 0.4s, top 0.4s, max-width 0.4s;
    font-size: .8rem;
    max-width: 10rem;
  }
  body main div.headerhero div.widgetbox {
    transition: width 0.4s, right 0.4s, background-color 0.4s;
    width: 50vw;
  }
  body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement {
    display: block;
    transition: width 0.4s, height 0.4s;
    width: 100%;
    height: auto;
  }
  body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement figure figcaption {
    text-align: center;
  }
  body .swiper-container .swiper-wrapper .swiper-slide .info {
    max-width: calc(100% - 50vw - 4rem - 4rem);
  }
  body .swiper-container .swiper-wrapper .swiper-slide .info h1 {
    transition: font-size 0.4s;
    font-size: 1.5rem;
  }
  body .swiper-container .swiper-wrapper .swiper-slide .info h2 {
    transition: font-size 0.4s;
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 64rem) {
  body nav .menu-toggle,
  body nav .dropdown-toggle {
    display: inline;
  }
  body nav div.logo {
    left: calc(4.5rem / 4);
  }
  body nav ul.menu {
    display: none;
    margin: 0;
    border-top: solid .0625rem #ccc;
    background-color: #efefef;
    transition: border-top 0.4s, background-color 0.4s;
    overflow: hidden;
    overflow-y: scroll;
    max-height: calc(100vh - 5.25rem /* + @headerimageHeight*/);
  }
  body nav ul.menu span.open {
    display: none;
  }
  body nav ul.menu span.open:after {
    content: '';
    border-top: none;
    border-left: none;
    display: none;
    width: 8px;
    height: 8px;
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: .5rem;
    transform: rotate(135deg);
  }
  body nav ul.menu li {
    display: block;
    padding-right: 1.5rem;
  }
  body nav ul.menu li.menu-item-has-children > .open {
    display: inline;
  }
  body nav ul.menu li ul.sub-menu {
    right: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-color: #fff;
    display: block;
  }
  body nav ul.menu li ul.sub-menu li {
    margin: 0 .5rem 0 2rem;
    font-size: .9em;
  }
  body nav ul.menu li.root-clicked ul.sub-menu {
    display: inline-block;
    left: auto;
  }
  body nav ul.menu.visible {
    /* display: block; */
  }
  body main .swiper-container .swiper-wrapper .swiper-slide .info {
    max-width: calc(100% - 4rem - 4rem);
  }
  body main div.headerhero div.widgetbox {
    /* display: none; */
    overflow-y: auto;
    transition: width 0.4s, right 0.4s, background-color 0.4s;
    width: calc(100% - (2rem * 2));
    right: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
  }
}
@media screen and (max-width: 36rem) {
  body nav ul.menu.visible {
    display: block;
  }
  body nav ul.menu.visible li {
    display: block;
  }
  body main section article div.startnavi > div.uagb-section__inner-wrap div.startnavielement figure img {
    transition: width 0.4s, height 0.4s;
    width: 22.5rem;
    height: 13.125rem;
  }
}
#map {
  width: 100%;
  height: 31.25rem;
  margin: 0;
}
