/* Behutsame Ergänzungen zum bestehenden Contao-Design. */
#header #logo h2 a {
  background: #fff url('/files/neu/ntc-logo.svg') center center / 120px auto no-repeat;
}
.ntc-programmansicht {
  box-sizing: border-box;
  max-width: 920px;
  margin: 36px auto 48px;
  padding: 0 20px;
}
.ntc-programmansicht img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid #dce8ef;
}
.ntc-programmansicht figcaption {
  margin-top: 8px;
  color: #565655;
  font-size: 16px;
  line-height: 1.5;
}
.ce_text img, .teaser_image, .image_container img {
  max-width: 100%;
  height: auto;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #005f97;
  outline-offset: 3px;
}
@media (max-width: 550px) {
  #header #logo h2 a { background-size: 72px auto; }
  .ntc-programmansicht { margin: 24px auto 36px; padding: 0 20px; }
  .ntc-programmansicht figcaption { font-size: 14px; }
  .ce_text, .ce_hyperlink, .ce_contact-person { overflow-wrap: anywhere; }
}
@media (max-width: 1030px) {
  #menuspalte .mod_navigation { display: none; }
  #menuspalte:has(#menuicon.active) .mod_navigation { display: block; }
}
@media (max-width: 768px) {
  html:has(iframe[src="https://ntc.software/"]) body { max-width: 100%; overflow-x: hidden; }
  html:has(iframe[src="https://ntc.software/"]) table,
  html:has(iframe[src="https://ntc.software/"]) tbody,
  html:has(iframe[src="https://ntc.software/"]) tr,
  html:has(iframe[src="https://ntc.software/"]) td {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }
  html:has(iframe[src="https://ntc.software/"]) img { max-width: 100%; height: auto; }
  html:has(iframe[src="https://ntc.software/"]) a { overflow-wrap: anywhere; }
}
.image_container img.ntc-logo-akkordeon {
  box-sizing: border-box;
  width: 230px;
  height: 160px;
  padding: 38px 15px;
  background: #fff;
  object-fit: contain;
}
#headline-679 h2 {
  position: absolute;
  top: 0;
  right: 0;
  width: 171px;
  height: 102px;
  margin: 0;
}
#headline-679 h2 a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-indent: -9999px;
  background: #fff url('/files/neu/ntc-logo.svg') center center / 120px auto no-repeat;
}
#headline-679 > p { display: none; }
@media (max-width: 550px) {
  #headline-679 h2 { width: 101px; height: 60px; }
  #headline-679 h2 a { background-size: 72px auto; }
}
html:has(iframe[src="https://ntc.software/"]) table[width="1010"] {
  width: 100%;
  max-width: 800px;
}
html:has(iframe[src="https://ntc.software/"]) table[width="1010"] td {
  width: 100% !important;
}
@media (max-width: 550px) {
  .homepage-slider .slider-headline { margin-top: 100px; }
  .homepage-slider .home_main_heading { margin-top: 0; }
  .homepage-slider .slider-headline table { display: table; }
}
.ce_text .image_container.float_left,
.ce_text .image_container.float_right { max-width: 400px; }
@media (max-width: 550px) {
  #main .ce_overview-element .overview-headline,
  #main .ce_overview-element .overview-copytext {
    float: none;
    width: 100%;
    overflow-wrap: anywhere;
  }
  #main .box-50 .ce_box-50 .image_container .img_overlay,
  #main .box-33 .ce_box-33 .image_container .img_overlay {
    background: #005f97;
    transition: none;
  }
}
body.ntc-wappmenue #header {
  background: url('/files/neu/mensa.webp') center center / cover no-repeat;
}
.ce_text .image_container.float_left,
.ce_text .image_container.float_right {
  box-sizing: border-box;
  width: min(100%, 400px);
}
body.ntc-futura-ambulant #header {
  background: url('/files/neu/begegnung.webp') center center / cover no-repeat;
}
