@media (max-width: 1600px) {
  .wrapper:after {
    width: 400px;
    height: 320px;
    background-size: 400px auto;
  }
}

@media(max-width: 1200px){
  .main-menu > ul > li {
    padding-right: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 991px) {
  .team-inner .aktuelles-pic {
    height: 210px;
  }

  .main-menu > ul > li > a {
    font-size: 16px;
  }

  .main-menu > ul > li {
    padding-right: 10px;
    margin-right: 10px;
    position: relative;
  }

  .main-sub-menu > li > a{
    font-size: 15px;
  }

  /*KONTAKT NEW*/

	.map-wrapper iframe{
		height: 400px !important;
	}

	.kontakt-page-inner .col-xs-12 {
		margin-bottom: 20px;
		flex: 0 0 100%;
		max-width: 100%;
	}

	.map-wrapper {
		margin-top: 35px;
	}
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
    line-height: 22px;
    padding-bottom: 0px !important;
  }

  h1 {
    font-size: 28px;
    line-height: 38px;
  }

  h2 {
    font-size: 26px;
    line-height: 32px;
    color: var(--theme-color);
  }

  h3 {
    font-size: 24px;
    line-height: 32px;
    color: var(--theme-color);
  }

  h4 {
    font-size: 22px;
    line-height: 30px;
    color: var(--text-color);
  }

  h5 {
    font-size: 20px;
    line-height: 28px;
    color: var(--text-color);
  }

  h6 {
    font-size: 18px;
    line-height: 22px;
    color: var(--text-color);
  }
  .mt-55 {
    margin-top: 0em;
  }
  .header-info-top {
    display: none;
  }

  .main-menu > ul > li > a {
    font-size: 16px;
    line-height: 16px;
  }

  .main-sub-menu > li > a,
  .main-sub-sub-menu li a {
    font-size: 16px;
    line-height: 28px;
  }

  .main-menu > ul > li {
    padding-right: 15px;
    margin-right: 15px;
    position: relative;
  }

  .logo img {
    max-height: 90px;
  }

  .header-info-bottom {
    margin-top: 0px;
  }

  .banner-part {
    height: 320px;
  }

  .aktuelles-list .col-xs-12 {
    margin-bottom: 25px;
  }

  .info-col-part {
    padding-top: 0px;
  }

  .footer-part {
    position: relative;
  }

  .footer-info {
    margin-top: 30px;
  }

  .team-inner .aktuelles-pic {
    height: auto;
  }

  .bread-inner {
    margin-bottom: 25px;
  }

  .header-info-top.header-info-mobile {
	display: block;
	margin-top: 50px;
	}

	.header-info-top-inner{
		justify-content: center;
	}

  .wrapper:after{
    display: none;
  }
  .top-padding-homepage {
      margin-top: 0;
  }
  section {
	padding:0;
  }
  .bread-part {
	padding-top: 20px;
  }
  .col-md-4.col-sm-12.col-xs-12 .aktuelles-blog {
	margin-top: 20px;
  }
  /*KONTAKT NEW*/

	.map-wrapper iframe{
		height: 300px !important;
	}

}

@media (min-width: 767px) {
  .main-sub-menu {
    position: absolute;
    top: 100%;
    left: 0px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.8);
    margin-top: 8px !important;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: none;
  }

  .main-menu > ul > li:hover .main-sub-menu {
    display: block;
  }

  .main-sub-menu:before {
    position: absolute;
    left: 0px;
    top: -8px;
    width: 100%;
    content: "";
    height: 8px;
  }

  .main-sub-menu > li > a {
    padding: 0px 20px;
    display: block;
    font-size: 15px;
    line-height: 30px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.2px;
  }

  .main-sub-menu > li.active > a,
  .main-sub-menu > li:hover > a {
    color: var(--white-color);
    background: var(--secondary-color);
  }

  .main-sub-menu > li:first-child > a {
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
  }

  .main-sub-menu > li:last-child > a {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
  }

  .main-sub-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.8);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    display: none;
  }

  .main-sub-menu > li:hover .main-sub-sub-menu {
    display: block;
  }

  .main-sub-sub-menu li a {
    padding: 0px 20px;
    display: block;
    font-size: 17px;
    line-height: 30px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 0.2px;
  }

  .main-sub-sub-menu li.active a,
  .main-sub-sub-menu li:hover a {
    color: var(--white-color);
    background: var(--secondary-color);
  }

  .main-sub-sub-menu li:first-child a {
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
  }

  .main-sub-sub-menu li:last-child a {
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
  }
}

@media (max-width: 767px) {
  .kontakt-form-part,
  .pdf-download {
    margin-bottom: 50px;
  }

  .humbarger-menu {
    display: block;
  }

  .header-info {
    position: absolute;
    top: 0px;
    min-height: 100vh;
    width: 100%;
    z-index: 11;
    background: var(--white-color);
    left: 0;
    padding: 125px 0 0px;
    overflow-y: auto;
    display: none;
  }

  .header-info-bottom {
    position: relative;
  }

  .header-info.active {
    display: block;
  }

  .main-menu > ul,
  .header-info-bottom {
    display: block;
  }

  .main-menu > ul > li {
    padding-right: 0;
    margin-right: 0;
    position: relative;
  }

  .main-menu > ul > li::after {
    display: none;
  }

  .main-menu > ul > li > a {
    padding: 10px 15px;
    border-top: 1px solid #ededed;
  }

  .main-sub-menu,
  .main-sub-sub-menu {
    display: none;
  }

  .main-sub-menu > li > a,
  .main-sub-sub-menu li a {
    font-size: 16px;
    line-height: 16px;
    padding: 10px 25px;
    display: block;
    text-decoration: none;
    font-weight: bold;
    border-top: 1px solid #ededed;
    position: relative;
  }

  .main-sub-sub-menu li a {
    padding: 10px 35px;
  }

  .main-sub-sub-menu li.active a,
  .main-sub-sub-menu li:hover a {
    color: var(--secondary-color);
    background: transparent;
  }

  .main-sub-menu > li.active > a,
  .main-sub-menu > li:hover > a {
    color: var(--secondary-color);
    background: transparent;
  }

  .drop-menu-arrow,
  .drop-menu-arrow-sub {
    display: block;
    position: absolute;
    right: 0px;
    top: 0;
    width: 40px;
    background: url("../images/arrow.svg") no-repeat center center;
    background-size: 25px auto;
    height: 100%;
  }

  .drop-menu-arrow.rotate , .drop-menu-arrow-sub.rotate{
  	-webkit-transform: rotate(180deg);
  	-moz-transform: rotate(180deg);
  	transform: rotate(180deg);
  }

  .header-part .container{
    max-width: 100%;
  }

  .ce-gallery[data-ce-columns="2"] .ce-column , .ce-gallery[data-ce-columns="3"] .ce-column , .ce-gallery[data-ce-columns="4"] .ce-column , .ce-gallery[data-ce-columns="5"] .ce-column , .ce-gallery[data-ce-columns="6"] .ce-column , .ce-gallery[data-ce-columns="7"] .ce-column , .ce-gallery[data-ce-columns="8"] .ce-column{
    flex: 0 0 100%;
    max-width: 100%;
  }

  .search-form {
	width: 100%;
	padding: 15px;
	}
}

@media (max-width: 576px) {
  .aktuelles-title {
    font-size: 18px;
  }

  /*KONTAKT NEW*/

	.map-wrapper iframe{
		height: 240px !important;
	}
}
