/*  < 1200px */
@media screen and (max-width: 1199px) {

  #page-footer .sect1 { vertical-align: top; }
  #page-footer .sect1 .navbar-brand-logo-normal { margin: 0; }
  #page-footer .sect3 p { flex-direction: column; }
  .carousel-small .item { height: auto; }

  #mainnavigation { font-size: 1.3em; }
  .container.footer-links img { width: 90%; }
  #page-footer .banner .title { min-height: 4em; }
  .use2column .tx-mask .teaser .image img { height: auto; }
  .use2column .tx-mask .teaser { height: 278px; }
  .use2column .tx-mask .teaser .teasertext { top: 278px; min-height: 278px; }
  .use2column .tx-mask .teaser:hover h2 { bottom: 198px; }
  .use2column .tx-mask .teaser:hover .teasertext { top: 80px; }

  .use3column .tx-mask .teaser .image img { height: auto; }
  .use3column .tx-mask .teaser { height: 215px; }
  .use3column .tx-mask .teaser .teasertext { top: 215px; min-height: 215px; }
  .use3column .tx-mask .teaser:hover h2 { bottom: 135px; }
  .use3column .tx-mask .teaser:hover .teasertext { top: 80px; }

  .mask_widget1_col h2 { font-size: 1.2em; }
  .footer-links .section-row { font-size: 0.9em; }
  .mask_widget2_col.formular .umkreis { width: 12em; }

}


.mask_widget2_col.formular div.pos {
    width: 80%;
}




/*  < 992px */
@media screen and (max-width: 992px) {
  .navbar-mainnavigation .dropdown-menu { position: relative; }
  #mainnavigation .dropdown-menu { column-count: 2; width: 100%; }
  .dropdown-item { white-space: normal; }
  .navbar .container { align-items: start; }
  .navbar-top { margin-top: -35px; background-color: transparent !important; }
  #search { z-index: 10; position: relative; }
  #mainnavigation { margin-top: 30px; }
  #mainnavigation .navbar-nav > .nav-item a { margin-right: 0; border-bottom: 1px solid transparent; }
  #mainnavigation .navbar-nav > .nav-item a:hover { border-bottom: 1px solid #a71f3c; }
  #scrollheader #page-header { border-bottom: 1px solid #eee; }
  #scrollheader .navbar-brand-logo-normal { margin-top: 20px; }
  .frame-type-subnavigation { display: none; }
  .frame-type-subnavigation ~ div { margin-top: 28px; border-top: 1px solid #a71f3c; padding-top: 28px; }

  #mainnavigation > ul > li:first-child { display: none; }
  .navbar-mainnavigation .navbar-nav > li > .nav-link:before { display: none; }
  .mask_widget1_col .text { width: 10em; }
  .mask_widget1_col .umkreis { width: 6em; }

  .frame-type-mask_teaser_wrap { padding-top: 3rem; }

  .use2column .tx-mask .teaser .image img { height: auto; }
  .use2column .tx-mask .teaser { height: 215px; }
  .use2column .tx-mask .teaser .teasertext { top: 215px; min-height: 215px; }
  .use2column .tx-mask .teaser:hover h2 { bottom: 138px; }
  .use2column .tx-mask .teaser:hover .teasertext { top: 77px; }

  .use3column .tx-mask .teaser .image img { height: auto; }
  .use3column .tx-mask .teaser { height: 153px; }
  .use3column .tx-mask .teaser .teasertext { top: 153px; min-height: 153px; }
  .use3column .tx-mask .teaser:hover h2 { bottom: 73px; }
  .use3column .tx-mask .teaser:hover .teasertext { top: 80px; }

  .mask_widget2_col.formular .umkreis { width: 6em; }
  .carousel-indicators { display: none; }

  #page-content2 { margin-top: -3.5rem; }
  .mask_widget2.row { margin-bottom: 1.5rem; }
  
 .backendlayout-landingp .pos {
  display: inline-block;
}
 
  .backendlayout-landingp #c2767 .frame-container {
  padding: 20px 20px 20px 20px;
}

 .backendlayout-landingp .maincontent-wrap #page-content2 h1 :first-of-type {
     display: block;
 }
  

}

/*  < 768px */
@media screen and (max-width: 768px) {

  #metanavigation ul { flex-direction: column; text-align: right; margin-bottom: 0; margin-top: 0; }
  #metanavigation ul li a { padding-right: 0; transition: all 1s ease; }
  #scrollheader.scrolled #metanavigation ul { margin-top: 0; transition: all 1s ease; }
  #scrollheader.scrolled #metanavigation ul li a { font-size: 0.8rem; transition: all 1s ease; }
  #search p span { font-size: 2em; }
  .footer-section-newsletter .footer-newsletter a { font-size: 1.6em; }
  .carousel-inner .textmedia .textmedia-item.textmedia-gallery { width: 100%; }
  .carousel-inner .textmedia .textmedia-item.textmedia-text { width: 100%; }
  .footer-meta .meta-menu { flex-direction: column; }
  #scrollheader #page-header-pre { padding-bottom: 10px; }

  .carousel-inner .textmedia .textmedia-item.textmedia-gallery .gallery-item { height: auto; }
  .mask_widget1_col { padding: 1em; }
  .mask_widget1_col h2 { padding: 0; padding-top: 1em; }
  .footer-links .section-row a.infobtn { float: none !important; margin: 0 !important; display: block; margin-top: 10px !important; }
  .footer-links div.d-flex { flex-direction: column; }
  .footer-links div.d-flex div { margin-bottom: 20px; }

  .mask_widget2_col { max-width: unset; flex: unset; }
  .mask_widget2_col.formular { max-width: unset; flex: unset; }
  .mask_widget2.row { height: auto; overflow: auto; }
  .mask_widget2_col.formular div.pos { position: relative; }

  .frame-type-mask_teaser_wrap2 { margin-top: -1.5rem !important; }
  #metanavigation ul li { padding-bottom: 10px; }
  #search .searchbutton { height: 30px; width: 30px; background-size: 70%; }
  #search #searchformsmall_text { height: 30px; padding: 5px; right: 40px; }

  .use2column .tx-mask .teaser .image img { height: auto; }
  .use2column .tx-mask .teaser { height: 335px; }
  .use2column .tx-mask .teaser .teasertext { top: 335px; min-height: 335px; }
  .use2column .tx-mask .teaser:hover h2 { bottom: 261px; }
  .use2column .tx-mask .teaser:hover .teasertext { top: 74px; }

  .use3column .tx-mask .teaser .image img { height: auto; }
  .use3column .tx-mask .teaser { height: 383px; }
  .use3column .tx-mask .teaser .teasertext { top: 383px; min-height: 383px; }
  .use3column .tx-mask .teaser:hover h2 { bottom: 309px; }
  .use3column .tx-mask .teaser:hover .teasertext { top: 74px; }



}

/* - <520px */
@media screen and (max-width: 580px) {

  .navbar-brand-logo-normal { height: 50px; }
  #page-header-pre .container { position: relative; }
  #metanavigation { position: relative; margin-left: 0; }
  #metanavigation.col-8 { max-width:100%; }
  ul#metanavigation_navigate { position:relative;  left:0;	width:auto; display: block !important; margin-bottom: 10px; }
  #metanavigation ul li { padding-right: 15px; display: inline-block; }
  #search #searchformsmall_text { width: 90% !important; }
  #search { position: relative; right: 0; margin-right: 15px; top:0; }	
  .frame-type-mask_teaser_wrap2 { margin-top: -0.5rem !important; }
  #mainnavigation .dropdown-menu { column-count: 1; width: 100%; }
  .carousel .carousel-control-prev { left: 30px; }
  .carousel .carousel-control-next { right: 10px; }

  .use2column .tx-mask .teaser .image img { height: auto; }
  .use2column .tx-mask .teaser { height: auto; margin-bottom: 20px; }
  .use2column .tx-mask .teaser .teasertext { display: none; }
  .use2column .tx-mask .teaser:hover h2 { bottom: 0; }

  .use3column .tx-mask .teaser .image img { height: auto; }
  .use3column .tx-mask .teaser { height: auto; margin-bottom: 20px; }
  .use3column .tx-mask .teaser .teasertext { display: none; }
  .use3column .tx-mask .teaser:hover h2 { bottom: 0; }



/*landing page cannabis */

 .backendlayout-landingp .maincontent-wrap h1 {
  font-size: 1.8rem;
}



 .backendlayout-landingp .slick-list.draggable {
     padding: 0 0 0 0 !important;
}


#page-content2 .frame {
padding-top: 3rem!important;
}

.news .article .news-img-wrap a {
    float: none;
}

.news-single .article .news-img-wrap {
    float: none;
    width: 100%;
	margin: 0 0 0 0;
}

.news .article .news-img-wrap img {
    width: 100%;
}

.article h2 {
    font-size: 1.6rem;
}

.mask_widget2_col.formular h2 {
    width: auto;
}

#scrollheader .navbar-brand-logo-normal {
    margin-top: 15px;
}





}



/* < 480px */
@media screen and (max-width: 480px) {

.carousel .carousel-item {
    padding-left: 0;
    padding-right: 0;
}

  .carousel .carousel-item h1,  
  .carousel .carousel-item h2 {
    font-size: 1rem;
	padding-right: 20px;
  }

  .carousel-inner .textmedia .textmedia-item.textmedia-text {
    padding-left: 5px;
	padding-top: 5px;
	padding-bottom: 5px;
	margin-left: 0;
  }
  
  .carousel-inner .textmedia, .textpic {
    margin-left: 10px;
    margin-right: 5px;
}



  #search p span { font-size: 1.3em; }
  .footer-section-newsletter .footer-newsletter a { font-size: 1.2em; padding-right: 40px; }
  .footer-section-newsletter .footer-newsletter a:hover { padding-right: 50px; }
  #page-footer .sect { display: block; padding: 20px 0 0 0; }
  #page-footer .sect1 { display: block; padding-bottom: 20px; border-bottom: 1px solid #fff; margin-bottom: 20px; }
  #page-footer .sect3 { display: block; margin-bottom: 20px; }
  #page-footer .sect3 p { margin-bottom: 0; }
  #page-footer .footeradresse { padding-bottom: 20px; }
  
  
  .backendlayout-landingp .slick-prev {
  left: -5px;
}

.backendlayout-landingp .slick-next {
  right: 5px;
}

}






@media screen and (max-height: 600px) {

  #scrollheader.scrolled { position: relative; z-index: auto; }
  #scrollheader.scrolled ~ #page-content { margin-top: 0; }

}

/*  > 992px */
@media screen and (min-width: 992px) {

  #mainnavigation .dropdown-menu.ebene2.show { display: none; }
  #mainnavigation .dropdown-menu.ebene2.show { display: none; }

}

/* print.css */
@media print {
  #page-subnavigation,
  #metanavigation,
  #page-footer { display: none!important; }

  .sectionimage { display: none!important; }

  a.scroll-top { display: none; }

  .breadcrumb-section,
  .maincontent-wrap #page-content,
  .maincontent-wrap #page-content2 { clear: both; float: unset; }
  .section { overflow: visible; }
  .section .section-row { display: block; }
  .maincontent-wrap .frame-container { max-width: 992px; }
  .maincontent-wrap .frame.frame-default { page-break-before: avoid; page-break-after: avoid; }

  .maincontent-wrap .frame.frame-layout-40 .frame-container .frame-inner { background-color: #fff; border: 2px solid #eee; }
  .maincontent-wrap .accordion .frame.frame-layout-40 .frame-container .frame-inner { margin: 20px; background-color: #fff; border: 2px solid #eee; }

  .tx-mask { page-break-before: avoid; }
  .accordion { margin-left: 0; page-break-before: avoid; page-break-after: avoid; }
  .accordion .card { display: block; overflow: hidden; }
  .accordion-collapse:not(.show) { display: block; }
  .accordion .accordion-title-link { padding-left: 20px; text-decoration: none; }
  .accordion .accordion-title-link-state { display: none; }

  .maincontent-wrap img { max-height: none!important; height: 100%!important; }

  .maincontent-wrap a.gtlink,
  .maincontent-wrap a.download,
  .maincontent-wrap .frame.frame-type-menu_sitemap_pages a { padding-left: 0; background: none; }

  .tx-om-cookie-consent { display: none !important; }
  .subcontent-wrap { display: none !important; }
  .mask_widget2 { display: none !important; }
  #scrollheader ~ #page-content { margin-top: 20px; }
  .maincontent-wrap { width: 100% !important; }
  .maincontent-wrap .frame-container { max-width: unset !important; }
  #page-content2 > div.frame:first-child { padding-top: 0 !important; }
}





