@import url(//fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic,300italic,300);
@import url(//fonts.googleapis.com/css?family=Raleway:400,100,200,300,500,600,700,800);

h1, h2 {
    margin-top: 3rem!important;
}

h1 {
    margin-bottom: 2rem!important;
}

p {
    margin-bottom: 2rem;
}

.topHeader {
    margin-top: 12px;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-top: 0px!important;
}

a p, p {
    font-weight: 400;
}

header.banner.headerHelper {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}

.search-form input {
    max-width: 10rem;
    margin-left: auto;
}

main {
    margin-top: 3rem;
}

.subHeader {
    padding: 12px 0;
}

.footer {
    background-color: #000;
    color: #bebdb9;
}
footer {
    background-color: #000;
    color: #fff;
    display: block;
    padding-top: 30px;
    margin-top: 2rem;
}

.footer__inner {
    padding-top: 60px;
    padding-bottom: 25px;
}

footer a {
    color: white;
}

footer a:hover {
    color: white;
    font-weight: bold;
}

figure.wp-block-image {
    margin-left: auto!important;
    margin-right: auto!important;
}

figcaption {
    font-weight: 400;
    font-size: 12px;
    line-height: 12px;
    margin-top: 12px!important;
}

.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 17px;
    margin-right: 4px;
    margin-bottom: 17px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.navbar-toggle:focus {
    outline: 0;
}
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: black;
}
.navbar-toggle .icon-bar + .icon-bar {
    margin-top: 4px;
}


@media (min-width: 425px) {
    .navbar-toggle {
        margin-top: 4px;
        margin-right: 4px;
        margin-bottom: 4px;
    }
}
@media (min-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}
.navbar-nav {
    /*margin: 7.5px -15px;*/
}
.navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 20px;
}
.twitter-timeline {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 768px) {
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
    #main-nav ul {
        margin: inherit;
        min-width: 18rem;
    }
    #main-nav ul a {
        font-weight: 400;
        color: inherit;
    }
    #main-nav ul li {
        margin: 12px 0;
    }
    #main-nav ul li ul li {
        margin: 12px 20px;
    }
    main {
        margin-top: 1rem;
    }
    .menuWrapper.container {
        padding: 0;
    }
    .navbar-header {
        position: absolute;
        right: 0;
        top: 0;
    }
    .mobile-title {
        margin-right: 40px;
    }
    .navbar-nav .open .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-nav .open .dropdown-menu > li > a,
    .navbar-nav .open .dropdown-menu .dropdown-header {
        padding: 5px 15px 5px 25px;
    }
    .navbar-nav .open .dropdown-menu > li > a {
        line-height: 20px;
    }
    .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-nav .open .dropdown-menu > li > a:focus {
        background-image: none;
    }
}

.resp-sharing-button__link,
.resp-sharing-button__icon {
    display: inline-block
}

.resp-sharing-button__link {
    text-decoration: none;
    color: #fff;
    margin: 0.5em
}

.resp-sharing-button {
    border-radius: 5px;
    transition: 25ms ease-out;
    padding: 0.3em 0.55em;
    font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
    width: 1em;
    height: 1em;
    margin-right: 0.4em;
    vertical-align: top
}

.resp-sharing-button--small svg {
    margin: 0;
    vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
    stroke: #fff;
    fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
    fill: #fff;
    stroke: none
}

.resp-sharing-button--twitter {
    background-color: #55acee
}

.resp-sharing-button--twitter:hover {
    background-color: #2795e9
}

.resp-sharing-button--pinterest {
    background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
    background-color: #8c0615
}

.resp-sharing-button--facebook {
    background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
    background-color: #2d4373
}

.resp-sharing-button--tumblr {
    background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
    background-color: #222d3c
}

.resp-sharing-button--reddit {
    background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
    background-color: #3a80c1
}

.resp-sharing-button--google {
    background-color: #dd4b39
}

.resp-sharing-button--google:hover {
    background-color: #c23321
}

.resp-sharing-button--linkedin {
    background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
    background-color: #046293
}

.resp-sharing-button--email {
    background-color: #777
}

.resp-sharing-button--email:hover {
    background-color: #5e5e5e
}

.resp-sharing-button--xing {
    background-color: #1a7576
}

.resp-sharing-button--xing:hover {
    background-color: #114c4c
}

.resp-sharing-button--whatsapp {
    background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
    background-color: #1da851
}

.resp-sharing-button--hackernews {
    background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
    background-color: #507299
}

.resp-sharing-button--vk:hover {
    background-color: #43648c
}

.resp-sharing-button--facebook {
    background-color: #3b5998;
    border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
    background-color: #2d4373;
    border-color: #2d4373;
}

.resp-sharing-button--twitter {
    background-color: #55acee;
    border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
    background-color: #2795e9;
    border-color: #2795e9;
}

.resp-sharing-button--tumblr {
    background-color: #35465C;
    border-color: #35465C;
}

.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
    background-color: #222d3c;
    border-color: #222d3c;
}

.resp-sharing-button--email {
    background-color: #777777;
    border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
    background-color: #5e5e5e;
    border-color: #5e5e5e;
}

.resp-sharing-button--pinterest {
    background-color: #bd081c;
    border-color: #bd081c;
}

.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
    background-color: #8c0615;
    border-color: #8c0615;
}

.resp-sharing-button--linkedin {
    background-color: #0077b5;
    border-color: #0077b5;
}

.resp-sharing-button--linkedin:hover,
.resp-sharing-button--linkedin:active {
    background-color: #046293;
    border-color: #046293;
}

.resp-sharing-button--reddit {
    background-color: #5f99cf;
    border-color: #5f99cf;
}

.resp-sharing-button--reddit:hover,
.resp-sharing-button--reddit:active {
    background-color: #3a80c1;
    border-color: #3a80c1;
}

.resp-sharing-button--xing {
    background-color: #1a7576;
    border-color: #1a7576;
}

.resp-sharing-button--xing:hover
.resp-sharing-button--xing:active {
    background-color: #114C4C;
    border-color: #114C4C;
}

.resp-sharing-button--whatsapp {
    background-color: #25D366;
    border-color: #25D366;
}

.resp-sharing-button--whatsapp:hover,
.resp-sharing-button--whatsapp:active {
    background-color: #1DA851;
    border-color: #1DA851;
}

.resp-sharing-button--telegram {
    background-color: #54A9EB;
}

.resp-sharing-button--telegram:hover {
    background-color: #4B97D1;
}

.blog-teaser {
    border-bottom: 1px solid #deded9;
    margin-top: 3rem;
}

.text-decoration-none {
    text-decoration: none!important;
}

.post-meta time, .post-meta p {
    font-size: 12px;
}

.post-meta {
    line-height: 1.5;
}

.widget_categories h3, .widget_archive h3 {
    margin-top: 3rem;
    position: relative;
    padding-bottom: 18px;
    line-height: 1.1;
    border-bottom: 4px solid #deded9;
    font-size: 1.385rem;
}

.widget_categories ul, .widget_archive ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 3rem;
}

.widget_categories ul li, .widget_archive ul li {
    padding: 6px 8px;
    border-bottom: 1px solid #deded9;
}

@media (min-width: 768px) {
    #main-nav {
        display: block;
    }
    #menu-hauptmenu {
        padding-inline-start: 0 !important;
        justify-content: space-around;
        display: flex;
        width: 100%;
    }
    #main-nav ul {
        flex-direction: inherit;
        -webkit-box-orient: inherit;
        -webkit-box-direction: inherit;
        -webkit-flex-direction: inherit;
    }
    .navbar {
        padding: 0;
    }
    .navbar-nav {

    }
    .dropdown-menu {
        min-width: 15rem;
    }
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; // remove the gap so it doesn't close
    }
    .navbar-nav > li a {
        padding: 20px;
        display: block;
        color: #000;
        position: relative;
        font-weight: 400;
    }

    .navbar-nav > li a:hover {
        text-decoration: none;
        background-color: white;
    }

    .navbar-nav > li a:hover:before, .navbar-nav > li.active > a:before {
        width: 100% !important;
    }

    .navbar-nav > li a:before {
        position: absolute !important;
        bottom: 0;
        left: 0;
        content: '';
        width: 0% !important;
        height: 2px !important;
        background: #000 !important;
        -webkit-transition: width 0.4s ease;
        -o-transition: width 0.4s ease;
        transition: width 0.4s ease;
        display: inline-block;
        font: inherit;
        margin: 0 6px 0 0px;
        vertical-align: top;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: 400;
        top: auto;
    }

    .navbar-nav li ul li a {
        padding: 6px 10px;
    }
    .navbar-header button {
        display: none;
    }
    .navbar-brand {
        color: #000;
        font-size: 18px;
        font-weight: inherit;
    }
}


.es_subscription_form_submit {
    display: inline-block;
    font-weight: 700;
    line-height: 2;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 2px solid transparent;
    outline: 0;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    color: #fff;
    background-color: #000;
    border-color: #000;
}

.es_subscription_form_submit:hover {
    color: #000;
    background: #fde70e;
    border: 2px solid #fde70e;
}

.c-accordion__title {
    padding-bottom: 18px;
    line-height: 1.1;
    border-bottom: 4px solid #deded9;
    margin-top: 2rem;
}

.c-accordion__title:after {
    font-size: 2.5rem;
}

.c-accordion__title:focus {
    outline: 0!important;
}

.screencast-row {
    display: flex;
    align-content: space-between;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}


.tribe-common .btn-sm {
    padding: 0.25rem 0.5rem;
}

.tribe-common .btn-primary {
    color: #fff!important;
    background-color: #000;
    margin-top: 1rem;
    border: 2px solid #000;
}

.tribe-common .btn-primary:hover {
    color: #000!important;
    background: #fde70e;
    border: 2px solid #fde70e;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    max-width: 700px;
}

.mh-modal {
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: #fefefe;
    border-radius: 4px;
}

.mh-modal .modal-header {
    background: #fde70e;
    border: none;
    color: #000;
    padding: 12px 16px;
    font-size: 22px;
    font-weight: bold;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.mfp-close-btn-in .mfp-close {
    color: white!important;
}

.mh-modal .modal-body {
    padding: 34px;
}

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8; }

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden; }

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box; }

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle; }

.mfp-align-top .mfp-container:before {
    display: none; }

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto; }

.mfp-ajax-cur {
    cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out; }

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
    cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; }

.mfp-loading.mfp-figure {
    display: none; }

.mfp-hide {
    display: none !important; }

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044; }
.mfp-preloader a {
    color: #CCC; }
.mfp-preloader a:hover {
    color: #FFF; }

.mfp-s-ready .mfp-preloader {
    display: none; }

.mfp-s-error .mfp-content {
    display: none; }

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation; }

button::-moz-focus-inner {
    padding: 0;
    border: 0; }

.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace; }
.mfp-close:hover,
.mfp-close:focus {
    opacity: 1; }
.mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
    color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%; }

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap; }

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent; }
.mfp-arrow:active {
    margin-top: -54px; }
.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1; }
.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
    left: 0; }
.mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
    right: 0; }
.mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
.mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px; }
.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
.mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%; }
.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
    line-height: 0; }
.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
.mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto; }

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px; }

.mfp-image-holder .mfp-content {
    max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
         * Remove all paddings around the image on small screen
         */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0; }
    .mfp-img-mobile img.mfp-img {
        padding: 0; }
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0; }
    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px; }
    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0; }
    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px; }
    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0; } }

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75); }
    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0; }
    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%; }
    .mfp-container {
        padding-left: 6px;
        padding-right: 6px; } }

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

a {
    font-weight: 700!important;
    text-decoration: underline!important;
    color: #767573!important;
}

.tribe-events-calendar-list__event-title-link  {
    text-decoration: none!important;
    color: inherit!important;
}

.tribe-events-content a {
    border-bottom: none;
}

header a {
    font-weight: inherit!important;
    text-decoration: none!important;
    color: #000!important;
}

:target::before {
    content: '';
    display: block;
    height:      50px;
    margin-top: -50px;
    visibility: hidden;
}

.tribe-events-single .tribe-events-event-image {
    display: none;
}

.tribe-events-single .ajax-popup-link {
    width: inherit!important;
    margin-bottom: 26px;
}

.wp-block-pb-accordion-item .ecs-event {
    margin-bottom: 16px;
}

.btn.btn-primary {
    color: white!important;
    text-decoration: none!important;
}

.ecs-event span.duration.time {
    margin-bottom: 12px;
    display: block;
}

.ecs-event .entry-title {
    margin-bottom: 4px;
}

.kachel {
    width: 46%;
    display: inline-grid;
    padding: 20px;
    text-align: center;
    border: 1px solid grey;
    border-radius: 5px;
    margin: 2%;
}

.kachel.klein {
    width: 18%;
    margin: 1%;
    font-size: 12px;
    height: 300px;
}

.kachel.klein h4 {
    font-size: 14px;
}

.kachel.mittel {
    width: 29%;
    margin: 2%
}

@media all and (max-width: 990px) {
    .kachel {
        width: 46%!important;
    }
}

@media all and (max-width: 650px) {
    .kachel {
        width: 100%!important;
        margin: 0!important;
        margin-bottom: 20px!important;
    }
    .ecs-event-list {
        padding-left: 0;
    }
}

iframe {
    max-width: 100%!important;
}

.aktuelle_termine_wrapper .kachel:not(.active) {
    display: none;
}

.aktuelle_termine_wrapper .kachel {
    width: 100%;
    display: block;
    margin: 0;
}

.aktuelle_termine_wrapper .carousel {
    padding: 0;
}