@charset "UTF-8";

/*
Theme Name: amm boilerplate
Theme URI: https://wordpress.org/themes/twentytwentyone/
Author: amm & the WordPress team
Author URI: https://wordpress.org/
Description: Standard amm WorPress Theme basierend auf dem Twenty Twenty-One WordPress Theme.
Requires at least: 5.3
Tested up to: 5.6
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyone
Tags: one-column, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready

Twenty Twenty-One WordPress Theme, (C) 2020 WordPress.org
Twenty Twenty-One is distributed under the terms of the GNU GPL.
*/


/* ############################################ */
/* embed fonts local */
/* ############################################ */

@import url('assets/fonts/dosis/dosis.css');

/* ############################################ */
/* color variables */
/* ############################################ */


.has-primary-background-color,
.bg-primary {
  background-color: var(--primary) !important;
}

.has-primary-color,
.text-primary {
  color: var(--primary) !important;
}

.has-secondary-background-color,
.bg-secondary {
  background-color: var(--secondary) !important;
}

.has-secondary-color,
.text-secondary {
  color: var(--secondary) !important;
}

.has-tertiary-background-color,
.bg-tertiary {
  background-color: var(--tertiary) !important;
}

.has-tertiary-color,
.text-tertiary  {
  color: var(--tertiary) !important;
}

.has-white-background-color {
  background-color: var(--white) !important;
}

.has-white-color {
  color: var(--white) !important;
}

.has-black-background-color {
  background-color: var(--black) !important;
}

.has-black-color {
  color: var(--black) !important;
}

/* ############################################ */
/* button & links: color & decoration */
/* ############################################ */

body * a {
  color: var(--primary);
  text-decoration: none;
  transition: all ease-in-out .33s;
}

body * a:not(.stretched-link):hover {
  color: var(--primary);
  text-decoration: underline;
}

.btn,
.btn a
.btn:hover,
.btn:focus,
.btn:active,
a.wp-block-button__link:hover {
  text-decoration: none !important;
  color: #fff;
}

.btn-primary,
.btn-primary:focus,
a.wp-block-button__link.has-primary-background-color,
input.submit,
input.search-submit,
input.mailpoet_submit,
.booking_form_div .btn.btn-default {
  color: #fff !important;
  background-color: var(--primary) !important;
  border: 1px solid var(--primary) !important;
}

.btn-secondary, 
.btn-secondary:focus,
a.wp-block-button__link.has-secondary-background-color {
  color: #fff !important;
  background-color: var(--secondary) !important;
  border: 1px solid var(--secondary) !important;
}

.btn-primary:hover,
.btn-primary:hover a,
.btn-primary a:hover,
a.wp-block-button__link.has-primary-background-color:hover,
.btn-secondary:hover,
.btn-secondary:hover a,
.btn-secondary a:hover
.a.wp-block-button__link.has-secondary-background-color:hover,
input.submit:hover,
input.search-submit:hover,
input.mailpoet_submit:hover {
  color: #fff !important;
  filter: brightness(110%);
}

.btn-white, 
.btn-white:focus,
a.wp-block-button__link.has-white-background-color,
a.wp-block-button__link.has-white-background-color:focus  {
  color: var(--primary) !important;
  background-color: #fff !important;
  border: 1px solid var(--primary) !important;
}

.btn-white:hover,
.btn-white:hover a,
.btn-white a:hover,
a.wp-block-button__link.has-white-background-color:hover,
a.wp-block-button__link.has-primary-color.has-white-background-color:hover {
  color: #fff !important;
  background-color: var(--primary) !important;
}

.btn-black, 
.btn-black:focus,
a.wp-block-button__link.has-black-background-color,
a.wp-block-button__link.has-black-background-color:focus  {
  color: #fff !important;
  background-color: #000 !important;
  border: 1px solid #fff !important;
}

.btn-black:hover,
.btn-black:hover a,
.btn-black a:hover,
a.wp-block-button__link.has-black-background-color:hover {
  color: #fff !important;
  background-color: #000 !important;
}


/* ############################################ */
/* Cookie Notice */
/* ############################################ */

.cookies-not-set #footer {
  padding-bottom: 90px
}

/* Medium */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {

  .cookies-not-set #footer {
    padding-bottom: 130px
  }

  #cn-notice-text {
    display: block;
    margin-bottom: 10px;
  }

}

@media screen and (max-width: 39.9375em) {

  .cookies-not-set #footer {
    padding-bottom: 150px
  }

}

/* ############################################ */
/* typo */
/* ############################################ */

body {
  font-family: 'Dosis', serif;
  font-size: 16px;
  line-height: 1.66;
  letter-spacing: 0.025rem;
  color: var(--tertiary);
  font-weight: normal;
}

body * p:not(.card-text):not(.has-normal-font-size) {
  font-size: 16px;
  line-height: 2;
}

body * b,
body * strong {
  font-family: 'Dosis', serif;
  font-weight: bold;
}

/* link reset */
body * a {
  color: var(--primary);
  text-decoration: none;;
}

body * a:hover {
  color: var(--primary);
  text-decoration: underline;;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
a.nav-link,
a.dropdown-item,
header a {
  font-family: 'Dosis', sans-serif;
  color: var(--primary);
  font-weight: 300;
}

h1 a,
.h1 a,
h2 a,
.h2 a,
h3 a,
.h3 a,
h4 a,
.h4 a,
h5 a,
.h5 a {
  color: var(--primary);
  font-family: 'Dosis', sans-serif;
  font-weight: 300;
}

/* H */

h1,
.h1 {
  font-size: 1.7rem
}

h2,
.h2 {
  margin-top: 2rem;
  font-size: 1.5rem
}

h3,
.h3 {
  font-size: 1.3rem
}

h4,
.h4 {
  font-size: 1.15rem;
}

a.nav-link {
  color: var(--white);
}

a.nav-link:hover {
  color: var(--white);
  text-decoration: none;
}

/* ############################################ */
/* lists 
/* ############################################ */

/* ############################################ */
/* custom theme styles */
/* ############################################ */

body {
  min-width: 320px;
  overflow: scroll;
}

/* ############### header ################## */

#header {
  padding-bottom: 300px;
}

#header .logo-wrapper {
  position: absolute;
  height: auto;
  top: 0;
  transition: all ease 0.2s;
  left: calc(50% - 60px);
}

#header .introduction{
  margin-top: 12rem;
}

#header .logo-wrapper img.logo {
  max-width: 100px;
  transition: all ease 0.2s;
  height: auto;
}

#header #header-background {
  top: 0;
  z-index: -1;
}

#header-background img {
  width: 100%;
  height: 800px;
  object-fit: contain;
  object-position: bottom;
  top: 0;
  z-index: -1;
  overflow: hidden;
  position: relative;
  background: linear-gradient(to bottom, #370b6f, #00429b, #006dba, #0095ce, #2dbcdc);
}

/* ############### nav ################## */


body:not(.home) ul#menu-main-nav {
  display: none;
}

nav.navbar {
  min-height: 85px;
}

#navbar,
ul#menu-main-nav {
  position: relative;
  z-index: 9998 !important;
}

#navbar_nav ul.nav {
  width: calc(100vw - 1.5rem);
  padding: 7rem 0 2rem;
}

nav.overlay #navbar_nav ul.nav,
nav.canvas-left #navbar_nav ul.nav,
nav.canvas-right #navbar_nav ul.nav {
  position: fixed;
  background-color: var(--primary);
  top: 0;
  width: 0;
  height: 100%;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  -webkit-transition: .33s ease-in-out;
  -moz-transition: .33s ease-in-out;
  -o-transition: .33s ease-in-out;
  transition: .33s ease-in-out;
}

nav.overlay #navbar_nav ul.nav {
  left: 0;
  right: 0;
  width: 100vw;
}

nav.canvas-right #navbar_nav ul.nav {
  right: 0;
  transform: translateX(75vw);
}

nav.canvas-left #navbar_nav ul.nav {
  left: 0;
  transform: translateX(-75vw);
}

nav.overlay #navbar_nav.collapse.show ul.nav,
nav.canvas-right #navbar_nav.collapse.show ul.nav,
nav.canvas-left #navbar_nav.collapse.show ul.nav {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  width: 75%;
}

nav.overlay #navbar_nav.collapse.show ul.nav {
  width: 100vw;
}

#navbar_nav ul.nav a.nav-link {
  margin: 0 0.75rem;
  padding: 0.75rem 0;
}

#navbar_nav ul.nav a.nav-link:hover,
li.menu-item.active a.nav-link {
  border-bottom: 1px solid #fff;
}

a.dropdown-toggle::after {
  display: none;
}

ul.dropdown-menu {
  display: block;
  margin-top: -10px;
  border: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: none;
  padding: 0;
  font-size: 0.9rem;
}

#header nav.navbar.fixed-top {
  background-color: var(--primary) !important;
  transition: all ease 0.66s; 
}

#header nav.navbar .btn-primary {
  background-color: var(--secondary) !important;
}

#header nav.navbar .btn-donate {
  top: 1.5rem;
  right: 1.5rem;
}

body.home #header nav.navbar .btn-donate {
  top: 1rem;
}

/* ############### animated burger menu: ################## */
/*  http://kylegoslan.co.uk/bootstrap-4-hamburger-menu-animation/ */

.navbar-toggler {
  z-index: 9999;
  position: fixed;
  left: 1rem;
  top: 1.5rem;
}

body:not(.home) .navbar-toggler {
  display: none;
}

/* Navbar-Toggler positionieren
nav.overlay .navbar-toggler,
nav.canvas-right .navbar-toggler,
nav.canvas-left .navbar-toggler {
  position: fixed;
  top: 1.5rem;
  right: 1rem;
}*/

.navbar-toggler:focus {
  box-shadow: none;
}

.icon-bar {
  width: 30px;
  height: 2px;
  background-color: var(--white);
  display: block;
  transition: all 0.2s;
  margin-top: 6px
}

.navbar-toggler .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
  opacity: 0;
}

.navbar-toggler .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
  transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
  opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
  transform: rotate(0);
}

/* ###############  searchform modal  ################## */

#searchformModal {
  z-index: 99999;
}

#searchformModal button.close {
  background: transparent;
  border: 0;
  font-size: 2rem;
  color: var(--primary);
}

#searchformModal button[type=submit] {
  right: 0;
}

/* ############### main ################## */

main#main.position-relative {
  z-index: 100;
}

#main.main-margin-top /* specific for fixed nav and no headerimage */ {
  margin-top: 10rem;
}

/* ############### sidebar ################## */

#sidebar {
  position: relative;
  min-height: 300px;
  width: 100%;
  margin-bottom: 2rem;
}

#sidebar ul#menu-social-media li a {
  color: #fff;
  font-size: 2.0rem;
}

#sidebar ul.next-events {
  list-style-type: none;
}

#sidebar ul.next-events li {
  border-top: 2px solid #fff;
}

#sidebar ul.next-events li:last-child {
  border-bottom: 2px solid #fff;
}

/* ############### footer ################## */

footer#footer.position-relative {
  z-index: 100;
}

footer section.footer-bottom * {
  font-size: .9rem !important;
}

#footer-contact ul {
  list-style-type: none;
  padding-left: 0;
  line-height: 2;
}
footer a,
footer a:hover,
footer nav a,
footer nav a:hover {
  color: #fff;
}

footer ul.social-links a.nav-link {
  color: #fff;
}

footer nav li:not(:last-child) {
  margin-right: 1rem;
}

footer section.footer-bottom {
  background-color: var(--tertiary);
}

/* ############### comments ################## */

#comments p:not(.comment-form-cookies-consent) label {
  display: block;
}

section.comment-section .comment-respond {
  max-width: 600px;
  margin: 3rem auto 1.5rem;
}

.comment-form * input:not( [type=checkbox] ),
.comment-form textarea {
  width: 100%;
}

#comments * ul,
#comments * ol {
  list-style-type: none;
}

ul.comment-list {
  padding: 0;
}

/*ul.comment-list li.comment {
  border-bottom: 1px solid var(--primary);
  border-top: 1px solid var(--primary);
}*/


.comment-block span.reply {
  top: 1.5rem;
  right: 1.5rem;
}

/* ##################################### */
/* custom blocks */
/* ##################################### */

main#main .entry-header h1,
main#main .entry-header > *:not(.alignfull),
main#main .entry-content > *:not(.alignfull),
main#main .comments-area > *,
main#main .post-navigation > *,
.wp-block-group > *:not(.alignfull),
.max-width {
  max-width: none;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

main#main .container-fluid .entry-header h1,
main#main .container-fluid .entry-header > *:not(.alignfull),
main#main .container-fluid .entry-content > *:not(.alignfull),
main#main .container-fluid .comments-area > *,
main#main .container-fluid .post-navigation > *,
.container-fluid .wp-block-group > *:not(.alignfull) {
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

main#main .post-navigation a.page-numbers,
main#main .post-navigation span.page-numbers {
  text-decoration: none;
  background: var(--tertiary);
  padding: .5rem 1rem;
  border-radius: .5rem;
  color: white;
}

main#main .post-navigation span.page-numbers {
  background: var(--primary);
}

main#main .post-navigation a.prev.page-numbers,
main#main .post-navigation a.next.page-numbers {
  background: transparent;
  color: var(--primary);
  font-size: 2.5rem;
  padding: 0;
  padding-top: 1.3rem;
  position: relative;
  top: .5rem;
}

.wp-post-image {
  object-fit: cover;
}

.wp-block-image {
  position: relative;
}

.wp-block-image img {
  max-width: none;
  object-fit: cover;
  width: 100%;
  position: relative;
  border-radius: .5rem !important;
  height: auto;
}

.wp-block-image figcaption {
  position: absolute;
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  bottom: 0;
  margin: 0;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.wp-block-media-text__media {
  border-radius: .5rem !important; 
}

.wp-block-gallery .wp-block-image {
  max-height: 100px;
}

.wp-block-columns {
  margin-bottom: 0 !important;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

.wp-block-columns.sponsoren > .wp-block-column:not(:only-child) {
  flex-basis: calc(50% - var(--wp--style--block-gap, 2em)/2) !important;
  flex-grow: 0;
  padding: .5rem;
}

.wp-block-group__inner-container {
  padding: 0 !important;
}

.wp-block-cover {
  min-height: 300px;
}

.wp-block-columns.sponsoren {
  margin-bottom: 1rem;
}

.wp-block-columns.sponsoren img {
  max-width: 150px;
  object-fit: contain;
  object-position: center;
  height: 100px;
  transition: all ease 0.3s;
}

.wp-block-columns.sponsoren img:hover {
  scale: 105%;
}

.wp-block-columns.sponsoren .special-height img {
  max-width: 200px;
}

/* ############### teaser/cards ################## */

.card {
  transition: ease all .5s;
  border: 0;
  display: flex;
  flex-direction: unset;
}

.card img {
 /* object-fit: cover;
  width: 100%;
  height: 220px;*/
}

.card figure {
    width: 35%;	
    margin: 0;
}
.card .p-3 {
    width: 65%;	
}
.card a {
  text-decoration: none;
  color: var(--tertiary);
}

.card-body span.icon {
  left: -.5rem;
  top: .1rem;
  margin-right: -.7rem;
  font-size: 1.3rem;
  position: relative;
}

.card:hover {
  -webkit-box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.33);
  box-shadow: 0px 5px 20px 0px rgba(0, 0, 0, 0.33);
}

/* ############### slider ################## */

#main_slider .carousel-inner,
#main_slider .carousel-item,
#main_slider img.slider-image,
.wp-block-slider  .carousel-inner,
.wp-block-slider  .carousel-item,
.wp-block-slider  img.slider-image {
  min-height: 250px;
  max-height: 100%;
}

#main_slider img.slider-image,
.wp-block-slider img.slider-image {
  width: 100%;
  object-fit: cover;
}

.carousel-caption {
  bottom: 1rem;
  padding: 0;
  left: 1rem;
  right: auto;
  text-align: left;
}

.carousel-indicators {
  bottom: 1rem;
}

.carousel-indicators button {
  /* width: 15px;
  height: 15px;
  -webkit-border-radius: 20rem;
  -moz-border-radius: 20rem;
  border-radius: 20rem;
  border-top-left-radius: 20rem;
  border-top-right-radius: 20rem;
  border-bottom-left-radius: 20rem;
  border-bottom-right-radius: 20rem;
  border-collapse: separate;
  margin-right: 1.25rem;
  margin-bottom: 1.0rem;
  background-color: var(--tertiary);
  border: 0; */
}

.carousel-indicators button.active {
  background-color: var(--primary);
}

.carousel-indicators button:last-child {
  margin-right: 0;
}

.carousel-control-next,
.carousel-control-prev {
  background-color: transparent;
  box-shadow: none;
  border: 0;
  font-size: 4rem;
}

.carousel-control-next span {
  position: absolute;
  right: 0;
}

.carousel-control-prev span {
  position: absolute;
  left: 0;
}

/* change transition duration to control the speed of fade effect
.carousel-item {
  transition: 
    ransform 0.66s ease-in-out, 
    opacity 0.66s ease-in-out, 
    transform 0.66s ease-in-out;
} */


/* ############### accordion ################## */

.wp-block-accordion .card {
  background-color: transparent;
}

.accordion-element .card-header {
  background-color: transparent;
}

.wp-block-accordion .card-text {
  padding-left: 2rem !important;
}

h3.accordion-title button {
  text-decoration: none;
}

.accordion-element img {
  margin-bottom: 1rem;
}

.accordion-icon.icon-angle-down {
  font-size: 2.25rem;
  transition: 0.5s;
  right: .25rem;
  top: .25rem;
}

.accordion-element .stretched-link:not(.collapsed) .accordion-icon {
  transform: rotateX(180deg);
}

.wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}

/* ############### contact-form-7 ############### */

.wpcf7-submit:not(:disabled) {
  background-color: var(--primary);
  color: #fff;
}

/*.wpcf7-form.init p {
  width: 100%;
}

.wpcf7-form.init p *:not(.wpcf7-checkbox *):not(.wpcf7-submit):not(.wpcf7-not-valid-tip) {
  width: 100%;
}

.wpcf7-form.init p {
  margin: 0 auto 1rem;
  text-align: center;
}

input,
textarea {
  font-size: 1rem;
  border: 1px solid var(--primary);
  border-radius: .5rem;
  padding: .5rem .75rem;
  transition: ease all .6s;
}

input[type=submit] {
  border: 1px solid var(--primary);
  background-color: #fff;
}

.wpcf7-spinner {
  margin: .75rem;
  position: absolute;
}*/

/* ############### video Oembed ############### */

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ############### calender plugin ############### */

.datepick-inline {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  min-width: 366px !important;
  width: 100% !important;
  padding: 1px;
  z-index: 10000;
}


.wpbc_only_calendar {
  width: 100%;
}

.bk_calendar_frame {
  max-width: none !important;
}

.datepick-inline td.datepick-days-cell .wpbc-cell-box {
  min-height: 50px;
}

.datepick-days-cell.date_available .wpbc-cell-box {
 background-color:#ddffcc !important;
}

.datepick-days-cell.full_day_booking .wpbc-cell-box {
  background-color:#ffc0bd !important;
}

/* ##################################### */
/* misc */
/* ##################################### */

input, 
input.submit,
input.search-submit,
input.mailpoet_submit,
textarea {
  border: 1px solid var(--tertiary);
  border-radius: .25rem;
  max-width: 100%;
  padding: calc(.667em + 2px) calc(1.333em + 2px) !important;
  transition: all ease-in-out .33s;
}

input:focus,
textarea:focus { 
  outline: 2px solid var(--primary) !important;
  box-shadow: none;
}

.btn,
.btn:focus,
input.submit,
input.search-submit,
input.mailpoet_submit,
a.wp-block-button__link,
.booking_form_div .btn.btn-default {
  border: 0;
  max-width: 320px;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  line-height: inherit;
  transition: all ease-in-out .33s;
  border-radius: .25rem;
  border: 1px solid #fff;
}

.btn:focus,
.btn-check:focus + .btn-primary, 
.btn-primary:focus,
input.submit:focus,
input.search-submit:focus,
input.mailpoet_submit:focus { 
  outline: none !important;
  box-shadow: none !important;
}

input.submit,
input.search-submit,
input.mailpoet_submit {
  margin: 0 auto;
}

.pull-up, 
.wp-block-columns.pull-up {
  margin-top: -150px;
  position: relative;
  z-index: 10;
}

.rounded {
  border-radius: .5rem !important;
}

.z-index-1 {
  z-index: -1 !important;
}

.border,
.border-top,
.border-right,
.border-bottom,
.border-left {
  border-color: var(--tertiary) !important;
}

/* checkbox custon styles */

/*[type="checkbox"] {
  position: absolute;
  z-index: 0;
  -webkit-appearance: none;
  visibility: hidden;
}

[type="checkbox"] + label::before,
.wpcf7-form-control-wrap .wpcf7-checkbox span.wpcf7-list-item-label::before {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 2px solid var(--primary);
  background-color: #fff;
  display: block;
  content: "";
  float: left;
  margin: 7px 10px 0 0;
  z-index: 5;
  position: relative;
}

[type="checkbox"]:checked + label::before,
.wpcf7-form-control-wrap .wpcf7-checkbox:not(.wpcf7-not-valid) span.wpcf7-list-item-label::before {
  box-shadow: inset 0px 0px 0px 3px #fff;
  background-color: var(--primary);
}

[type="checkbox"]:focus,
.wpcf7-form-control-wrap .wpcf7-checkbox:not(.wpcf7-not-valid):focus span.wpcf7-list-item-label {
  outline: none !important;
}*/

/* table styles */

tr {
  border-bottom: 3px solid var(--primary);
}

td:first-child {
  color: var(--primary);
}

/* weather widget */

.jsx-820963842 a {
  display: none !important;
}

.eapp-weather-weather-component {
  position: absolute !important;
  margin-top: -8rem;
  margin-left: -1rem;
}

.eapp-weather-weather-component > * {
  width: 250px !important;
  height: 100px !important;
}

.jsx-820963842.eapp-weather-weather-detail {
  border-bottom: 2px solid var(--primary);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); 
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
  width: 100% !important;
}

.weather-widget-image img {
  height: 400px !important;
}

.booking_form_div .btn.btn-default {
	font-weight: 300;
	font-size: 16px;
}

/* #################################################################################################################################################### */
/* responsive design */
/* #################################################################################################################################################### */


/* special for columns */

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

  .wp-block-column {
    margin-left: 0 !important;
  }

}

/* ##################################### */
/* small screen / smartphone landscape */
/* ##################################### */
@media screen and (min-width: 576px) {

  /* container */
  
  .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }

  body {
    overflow-x: hidden;
  }

  main#main .entry-header > *:not(.alignfull),
  main#main .entry-content > *:not(.alignfull),
  main#main .comments-area > *,
  main#main .post-navigation > *,
  .wp-block-group > *:not(.alignfull),
  .max-width {
    max-width: 540px;
  }

  .wp-block-columns {
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile):not(.sponsoren) > .wp-block-column:not(:only-child) {
    flex-basis: 100% !important;
  }

  #navbar_nav ul.nav {
    width: 540px;
  }

}

/* ##################################### */
/* medium sceen / tablet portrait */
/* ##################################### */
@media screen and (min-width: 768px) {

  #navbar_nav ul.nav {
    width: 720px;
  }

  /* container */

  main#main .entry-header > *:not(.alignfull),
  main#main .entry-content > *:not(.alignfull),
  main#main .comments-area > *,
  main#main .post-navigation > *,
  .wp-block-group > *:not(.alignfull),
  .max-width {
    max-width: 720px;
  }

  /* H */

  h1,
  .h1 {
    font-size: 2.5rem
  }

  h2,
  .h2 {
    font-size: 2.0rem
  }

  h3,
  .h3 {
    font-size: 1.75rem
  }

  h4,
  .h4 {
    font-size: 1.5rem
  }

  .has-large-font-size {
    font-size: 30px;
  }

  #header .logo-wrapper {
    margin-top: 10rem;
  }

  #header .logo-wrapper img.logo {
    max-width: 100%;
  }

  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column:not(:only-child) {
    flex-basis: calc(50% - var(--wp--style--block-gap, 2em)/2) !important;
    flex-grow: 0;
  }

  /* contact-form 7 */

  /*.wpcf7-form.init p *:not(.wpcf7-checkbox *):not(.wpcf7-submit):not(.wpcf7-not-valid-tip) {
    width: 85%;
  }*/

}

/* ##################################### */
/* large screen / desktop */
/* ##################################### */
@media screen and (min-width: 992px) {

  /* Navbar */ 

  nav.navbar {
    min-height: auto;
  }

   #header nav.navbar.fixed-top {
    background-color: transparent !important;
  }
  
  #header.scroll nav.navbar.fixed-top {
    background-color: var(--primary) !important;
  }

  #header .logo-wrapper {
    left: auto;
    position: relative;
  }

  #navbar_nav ul.nav {
    width: 100%;
    padding: 0;
  }

  nav.overlay #navbar_nav ul.nav,
  nav.canvas-left #navbar_nav ul.nav,
  nav.canvas-right #navbar_nav ul.nav {
    position: static;
    background-color: transparent;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  #navbar_nav ul.nav a.nav-link:hover,
  li.menu-item.active a.nav-link {
    border-color: transparent;
    transition: none;
  }

  #navbar_nav ul.nav #menu-item-169 {
    border-right: 1px solid #fff;
  } 

  #header nav.navbar .btn-primary {
    background-color: var(--primary) !important;
  }

  #header.scroll nav.navbar .btn-primary {
    background-color: var(--secondary) !important;
  }

  /* container */

  main#main .entry-header > *:not(.alignfull),
  main#main .entry-content > *:not(.alignfull),
  main#main .comments-area > *,
  main#main .post-navigation > *,
  .wp-block-group > *:not(.alignfull),
  .max-width {
    max-width: 960px;
  }

  /* ############### nav/dropdown ############### */

  #navbar_nav ul.nav a.nav-link {
    padding: 0.5rem 0;
  }

  a.dropdown-toggle::after {
    display: block;
    position: absolute;
    bottom: 6px;
    left: 45%;
  }

  ul.dropdown-menu {
    display: none;
    margin-top: 0;
    background: var(--primary);
    border-top: 3rem solid #fff;
    font-size: 1em;
  }

  ul.dropdown-menu li a {
    text-align: left;
    color: #fff;
    border-bottom: 2px solid #fff;
    padding: .75rem 2rem;
  }

  ul.dropdown-menu li:last-child a {
    border-bottom: 0;
  }

  li.dropdown:hover ul.dropdown-menu,
  ul.dropdown-menu:hover {
    display: block;
  }

  a.nav-link {
    font-size: 15px;
  }

  /* ############### sidebar ############### */

  #sidebar {
    position: sticky;
    margin-top: 0;
    top: 1rem;
    margin-bottom: 0;
    left: inherit;
    min-height: 400px;
    width: 100%;
  }

  #sidebar h3 {
    font-size: 1.0rem;
  }

  #sidebar h3 span.icon {
    font-size: 1.5rem;
  }

  /* ############### main ############### */



/* ##################################### */
/* extra large screen / wide desktop */
/* ##################################### */
@media screen and (min-width: 1200px) {

  /* container */

  main#main .entry-header > *:not(.alignfull),
  main#main .entry-content > *:not(.alignfull),
  main#main .comments-area > *,
  main#main .post-navigation > *,
  .wp-block-group > *:not(.alignfull),
  .max-width {
    max-width: 1140px;
  }

  a.nav-link {
    font-size: 16px;
  }

  /* ############### sidebar ############### */
  #sidebar h3 {
    font-size: 1.2rem;
  }

  #sidebar h3 span.icon {
    font-size: 2rem;
  }

  #header .logo-wrapper img.logo {
    max-width: none;
  }

  /* contact-form 7 */

  /*.wpcf7-form.init p *:not(.wpcf7-checkbox *):not(.wpcf7-submit):not(.wpcf7-not-valid-tip) {
    width: 70%;
  }*/

}

/* ##################################### */
/* XXL screen / wide desktop */
/* ##################################### */
@media screen and (min-width: 1400px) {

  /* container */

  main#main .entry-header > *:not(.alignfull),
  main#main .entry-content > *:not(.alignfull),
  main#main .comments-area > *,
  main#main .post-navigation > *,
  .wp-block-group > *:not(.alignfull),
  .max-width {
    max-width: 1320px;
  }


  #sidebar h3 {
    font-size: 1.2rem;
  }

  #sidebar h3 span.icon {
    font-size: 2rem;
  }

}


/* ############### XLarge+ only specific height ############### */
@media screen and (min-width: 1200px) and (min-height: 800px) {}

/* ############### Medium only ############### */
@media screen and (min-width: 768px) and (max-width: 991px) {}

/* ############### Small only ############### */
@media screen and (min-width: 576px) and (max-width: 767px) {}

/* ############### XSmall only ############### */
@media screen and (max-width: 575px) {}




/* ############### BAD IE ############### */
@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {

  body {
    border-bottom: 1px solid #fff;
  }

  .compat-object-fit {
    background-size: cover;
    background-position: center center;
  }

  .compat-object-fit img {
    opacity: 0
  }

}
}