/* ==========================================================================
XAMPLE Media Queries for Responsive Design.
hese examples override the primary ('mobile first') styles.
odify as content requires.
========================================================================= */

@media only screen and (max-width: 1024px) {
  .main-logo-wrap {
    padding: 0 5% 20px 5%;
  }
  .sprachen-wrap,
  .mainnav,
  .main-footer--inner,
  .main-footer--bottom {
    padding: 0 5%;
  }
  .c-nav-fixed {
    padding: 2% 5%;
  }
  .main {
    padding: 0 5%;
  }
  .main_home {
    padding: 0;
  }
  .content--box {
    padding: 50px 5%;
    position: relative;
  }
  .content--box img[src*="frei"] {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 320px;
  }
  .content--box img[src*="frei"] ~ p {
    padding-right: 320px;
  }
  .footer-logo-link {
    display: block;
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 860px) {
  .main-header--img.flexslider,
  .main-header--slide,
  .main-header--img img {}
  .flexbox .content_highlight .content--box {
    display: block;
  }
  .content_highlight .content--item,
  .flexbox .content_highlight .content--item {
    width: 100%;
    border-bottom: 1px solid #013977;
    padding: 10px 0 10px 0;
    margin-bottom: 15px;
  }
  .content_highlight .content--item:nth-child(2):before,
  .content_highlight .content--item:nth-child(2):after {
    display: none;
  }
  .flexbox .content_highlight .content--item:last-child {
    border-bottom: 0;
  }
  .content_highlight .btn {
    position: static;
    margin: 0;
  }
  .content_highlight p {
    margin: 25px 0;
  }
  .main-logo:after {
    width: 40%;
  }
  .start_gastro .gericht,
  .start_gastro .gericht-today,
  .home-offer {
    margin: 0 2% 0 0;
    width: 31.33%;
    padding-top: 31.33%;
  }
  .footer-logo {
    width: 120px;
  }
  .main-footer--inner:before {
    right: 0;
    left: 0;
    width: 100%;
    background-size: contain;
  }
}

@media only screen and (max-width: 800px) {
  .sidenav {
    display: none;
    float: none;
  }
  .sidenav ~ .content {
    padding: 100px 40px 40px 40px;
  }
  .mobile-nav {
    display: block;
    background: #714128;
    color: #fff;
    font-size: 18px;
    padding: 10px 10px 10px 40px;
    position: absolute;
    top: 45px;
    left: auto;
    right: 0;
    z-index: 800;
    line-height: 30px;
  }
  .mobile-nav:before {
    content: "";
    display: block;
    position: absolute;
    width: 40px;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    background: transparent url("../img/arrow_left.svg") no-repeat 50% 50%;
    background-size: 22px auto;
  }
  .mobile-nav_active:before {
    transform: rotate(-180deg)
  }
  .noscroll .blokker {
    position: fixed;
    background-color: rgba(0, 0, 0, .7);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 899;
    display: block;
  }
  .mainnav {
    margin-top: 0;
    background: #fff;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    bottom: 0;
    z-index: 900;
    padding: 0;
    transform: translate3d(-100%, 0, 0);
    transition: all .1s ease-in 0s;
  }
  .mainnav_active {
    transform: translate3d(0, 0, 0);
    transition: all .2s ease-in 0s;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.5);
    overflow-y: auto;
  }
  .m1_CMSListMenuUL {
    padding-left: 0;
  }
  .m1_CMSListMenuLI {
    float: none;
    width: 100%;
    text-align: left;
  }
  .m1_CMSListMenuLink {
    padding: 15px 20px 15px 80px;
    border-bottom: 1px solid;
    text-align: left;
    background-position: 20px 50%;
    background-size: 42px auto;
  }
  .m1_CMSListMenuLink:after {
    right: 10px;
  }
  .m2_CMSListMenuUL,
  .m3_CMSListMenuUL {
    display: none;
    position: static;
    width: 100%;
    z-index: 900;
    top: auto;
  }
  .m1_CMSListMenuLink_activ + .m2_CMSListMenuUL {
    display: block;
    padding: 20px 0;
  }
  .m2_CMSListMenuLI > span {
    display: block;
    padding: 10px 10px 10px 60px;
    color: #C78520;
  }
  .main {
    padding: 0;
  }
  .sidebar {
    float: none;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .content {
    width: 100%;
    float: none;
    padding: 20px;
  }
  .flexbox .main {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .flexbox .sidebar {
    -ms-flex-order: 2;
    order: 2;
  }
  .flexbox .content {
    -ms-flex-order: 1;
    order: 1;
  }
  .newsletter-home {
    border-radius: 0;
  }
  .top-news {
    padding: 20px;
    border: 0;
  }
  .top-news--text {
    bottom: 0;
    width: 100%;
    padding: 10px 45px 10px 20px;
  }
  .top-news--text:after {
    right: 10px;
  }
  .top-news--titel {
    font-size: 28px;
  }
  .top-news--teaser {
    font-size: 22px;
  }
  .content-slider {
    box-shadow: none;
  }
  .content-slider--link {
    height: auto;
  }
  .main-footer--inner {
    padding: 10px;
  }
  .main-footer--inner:before,
  .main-footer--inner:after {
    display: none;
  }
  .ref--pic {
    position: relative;
    overflow: hidden;
    padding: 0 20px;
  }
  .main-footer:before,
  .footer-logo {
    display: none;
  }
  .footer--circles {
    float: none;
    text-align: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  .footer-circle {
    margin: 0;
  }
  .footer-icon {
    font-size: 16px;
  }
  .content--text {
    padding: 0 40px;
  }
  .sidebar--title {
    padding: 0 40px;
  }
  .form {
    padding: 0 40px;
  }
}

@media only screen and (max-width: 765px) {
  .main-header {
    height: auto;
  }
  .main-header--img.flexslider {
    width: auto;
    height: auto;
    position: static;
    margin: 0;
  }
  .main-header--img.flexslider .slides img {
    width: 100%;
  }
  .footer-contact {
    display: block;
    padding: 60px;
  }
  .footer-icon {
    width: 48%;
    float: left;
    margin: 0;
    padding: 20px 20px 20px 40px;
  }
  .footer-icon:nth-child(2n+1) {
    clear: left;
  }
  .start_gastro .gericht-today .gericht-item,
  .home-offer--dish {
    font-size: 18px;
  }
  .top-news--teaser {
    font-size: 16px;
  }
  .footer-contact {
    padding: 40px;
  }
}

@media only screen and (max-width: 600px) {
  .content--header {
    width: 140px;
    padding-top: 140px;
  }
  .content--header--title {
    font-size: 20px;
  }
  .content--header > img {
    height: 46px;
    margin-left: -23px;
  }
  .start_gastro {
    margin-top: 100px;
  }
  .start_gastro .gericht,
  .start_gastro .gericht-today,
  .home-offer {
    float: none;
    margin: 30px auto 0 auto;
    width: 230px;
    padding-top: 230px;
  }
  .sidenav ~ .content {
    padding-top: 50px;
  }
  .content--text {
    margin-top: 50px;
  }
  .main-header:after {
    top: 80%;
  }
  .footer-icon {
    width: 100%;
    float: left;
    margin: 0;
    padding: 20px 20px 20px 40px;
  }
  .footer-links--info {
    width: 100%;
    margin-bottom: 20px;
  }
  .main-footer--bottom {
    text-align: left;
  }
  .footer-circle {
    width: 120px;
    height: 120px;
    margin-top: 0;
    background-size: 42px auto;
    background-position: 50% 18px;
  }
  .footer-circle span {
    font-size: 13px;
  }
  .top-news--image-box {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .top-news--text {
    clear: both;
    padding: 20px;
  }
  #dlsfullcarousel {
    display: none;
  }
  #dlsfullslider img {
    width: 100%;
    max-height: none;
    height: auto;
    display: block;
  }
  .obnet-form > li:nth-child(2n+1),
  .obnet-form > li {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .obnet-form > li > label {
    margin-bottom: 5px;
  }
  .eintrag-gastrobestellung-options {
    width: 90%;
  }
  .main {
    padding: 25px;
  }
  .bildbox-250 {
    float: none;
    max-width: 100%;
    width: 100%;
    margin: 0 0 40px 0;
  }
  .map {
    width: 100% !important;
    margin: 0 0 40px 0;
  }
  .sidenav ~ .content {
    padding-left: 0;
  }
  .m2_CMSListMenuUL {
    margin-bottom: 20px;
  }
  .m2_CMSListMenuLink {
    display: block;
    color: #C78520;
    padding: 20px 10px 10px 80px;
  }
  .m1_CMSListMenuLink_activ + .m2_CMSListMenuUL {
    display: block;
  }
  p > img {
    float: none !important;
    width: auto !important;
    height: auto !important;
    display: block;
    margin: 0 auto 30px auto !important;
  }
  .genussmittag .gericht {
    float: left;
    width: 100%;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #efefef;
  }
  .genussmittag .gericht:nth-child(odd) .gericht--title,
  .genussmittag .gericht:nth-child(odd) .gericht--datum {
    display: none;
  }
  .genussmittag .gericht:nth-child(even) {
    clear: left;
    border-bottom: 0px solid #efefef;
  }
  .flex-direction-nav {
    display: none;
  }
}

@media only screen and (max-width: 400px) {
  .main-footer {
    margin-top: 10px;
  }
  .content--header {
    margin-top: 10px;
  }
  .footer--circles {
    display: block;
    margin: auto;
  }
  .footer-circle span {
    font-size: 16px;
  }
  .footer-circle {
    width: 150px;
    height: 150px;
    background-size: 50px auto;
    background-position: 50% 10px;
    float: none;
    margin: auto;
    margin-top: 30px;
  }
  .footer-circle span {
    transform: translateY(150%);
  }
  .main-logo-wrap {
    width: 140px;
  }
  .main-logo--img {
    width: 100%;
    margin-top: 20px;
  }
  .flex-control-nav,
  .main-header:after,
  .flex-direction-nav {
    display: none;
  }
}