/* MEDIA QUERIES - RESPONSIVE CSS
-------------------------------------------------- */

@media screen and (max-width: 1880px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

}

@media screen and (max-width: 1490px) {
  .swiper-button-next {
    margin-right: 0 !important;
  }
  .swiper-button-prev {
    margin-left: 0 !important;
}
}

@media screen and (max-width: 1400px) {
  .swiper-slide .title {
    font-size: 100px !important;
  }
}

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



}

@media screen and (max-width: 1200px) {
  .swiper-slide .title {
    font-size: 80px !important;
  }
}

@media screen and (max-width: 1010px) {
  #megura-swissness {
    right: 15px !important;
  }

  .inhalt .row,
  #footer .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
  }
}

@media screen and (max-width: 992px) {
  html {
		scroll-padding-top: 110px;
	}

  #wrap-inhalt {
    width: 100%;
  }

  #wrap-header {
    height: 80px;
  }

  #logo {
    height: 60px;
  }

  /* Header */
  #sucheNav {
    padding: 12px 0px 12px 15px;
    margin-right: unset;
  }

  #abmeldenNav {
      margin-right: 8%;
      margin-left: auto;
  }
}

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

}

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

  .DesktopOnly {
    display: none;
  }

  .swiper-slide .scribble0,
  .swiper-slide .scribble1 {
    display: none;
  }

  .MobileOnly {
    display: block;
  }

  #wrapper {
    display: block !important;
  }

  #wrap-topbild {
    margin-top: 80px;
    height: auto;
    /*height: 50vw;*/
    aspect-ratio: 1 / 1.2;
  }

  .swiper-slide .col-12:nth-of-type(odd) {
    padding-right: 0px;
  }
  .swiper-slide .col-12:nth-of-type(even) {
    padding-left: 0px;
  }

  .swiper-button-prev {
    margin-left: 0px;
  }

  .swiper-button-next {
    margin-right: 0px;
  }

  .scrollytellingScribble.scribbleKelle {
    width: 350px;
  }

  .scrollytellingScribble.scribbleUhr {
    top: 150px;
    right: none;
    left: -50px;
    width: 200px;
  }
  
  .scrollytellingScribble.scribbleWaage {
    width: 260px;
  }
  
  .scrollytellingScribble.scribbleSchuessel {
    width: 500px;
  }
  
  .scrollytellingScribble.scribbleBrot {
    width: 717px;
  }

  #wrap-footer {
    border-left: 0px;
    border-right: 0px;
    border-bottom: 0px;
  }

  #frow1 .col-12 {
    margin-bottom: 20px;
  }

  #frow2 {
    margin-top: 10px;
  }

  #frow3 .ce-column {
    margin-bottom: 0px !important;
  }

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

  #logo a {
    display: block;
    width: 100%;
    height: 100%;
    background-size: 100% 100%;
  }

  .homeStoerer {
    width: 100%;
  }

  /* Masonry */
  .grid-sizer,
  .grid-item {
    width: 100%;
    margin-bottom: 0.5%;
    overflow: hidden;
    aspect-ratio: 1.95 / 1;
  }

  .kaffeeStoerer {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40%;
  }

/*  h2,
  h1,
  h3,
  h4 {
  	hyphens: auto;
  }*/

  .moserbrotFacts .col-12,
  .moserbrotHerstellungWrap .col-12 {
  	padding-right: 15px !important;
  	padding-left: 15px !important;
  }

  .moserbrotText div {
  	padding-left: 0;
  }

  .teigruhe .frame:nth-child(2) {
  	width: 100%;
  }

  .teigruheClaim .col-12>div {
	border-right: none;
  	border-bottom: 2px solid #FFD200;
  }

  .teigruheClaim .col-12:nth-of-type(1)>div {
  	padding: 20px;
  }

  .teigruheClaim .col-12:nth-of-type(2)>div {
  	padding: 20px;
  }

  .teigruheClaim .col-12:nth-of-type(3)>div {
  	padding: 20px;
  	border-bottom: none;
  }

  .powermail_fieldwrap_datenschutzeinverstanden,
  .powermail_fieldwrap_type_recaptcha {
    width: 100% !important;
  }

}

@media screen and (max-width: 676px) {
	.uberPortrait .ce-bodytext {
		padding-left: 0;
		width: 100%;
	}
}

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

  #wrap-header {
    height: 80px;
  }

  /* #wrap-topbild {
    height: 48vw;
  } */

  /* #topbild,
  #topbild .ce-image img {
    width: 145% !important;
    height: auto;
  } */

  #frow1 .col-12 {
    margin-bottom: 30px;
  }

  .powermail_input,
  .powermail_textarea {
    width: 100%;
  }

  .moserbrotHerstellungWrap .col-12>div:nth-child(odd) h1 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }

  .moserbrotHerstellungWrap .col-12>div:nth-child(even) h1 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
  }
}

@media screen and (max-width: 500px) {
	/* Header */
  #abmeldenNav {
    padding: 12px 0px 12px 15px;
    margin-right: unset;
  }
}

@media screen and (max-width: 416px) {
	.tx-indexedsearch-form {
    display: flex;
  }

  input#tx-indexedsearch-searchbox-sword {
      width: 100%;
  }
}
