:root {
  --schrift: #000000;
  --dunkelblau: #354897;
  --orange: #e55122;
  --gruen: #3aaa35;

  --gelb: rgb(200, 211, 0);
  --pink: rgb(230, 0, 126);
  --lila: rgb(130, 54, 140);

  --pink-orange: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%);
  --gelb-gruen: linear-gradient(90deg, var(--gelb) 0%, var(--gruen) 100%);
  --lila-blau: linear-gradient(90deg, var(--lila) 0%, var(--dunkelblau) 100%);

  --radius: 30px;
  --outline-color: var(--orange);
  --hellgrau: #e9e9e9;
  --bgblau: #feefdc;
  --grau: #b3b3b3;
  --bgblau: #eaf6fe;

  --hoben: 112px;
  --navbg: #ffffff;
  --outline: var(--orange);
}

html,
body {
  font-size: 18px;
  font-weight: 300;
  color: var(--schwarz);
  line-height: 1.4em;
  hyphens: auto;
  hyphenate-limit-chars: auto 6 5;
  -webkit-hyphens: auto;
}

@supports (hanging-punctuation: first) and (font: -apple-system-body) and (-webkit-appearance: none) {
  body {
    /* Safari-spezifische Regeln */
    hyphens: auto;
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 5;
  }
}

@media not all and (min-resolution: 0.001dpcm) {
  body {
    hyphens: auto;
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 5;
  }
}

a,
a:hover,
a:active,
a:visited,
:is(a, button, input, textarea, summary) {
  color: var(--dunkelblau);
}


/* -- Navi & Header -- */
#oben {
  border: none;
  width: 1800px;
  padding: 5px calc(50% - 850px);
  box-shadow: 0 0 5px var(--hellgrau);
}

#oben>.frame-default .ce-gallery {
  margin: 10px 0;
}

#oben>.frame-default .ce-gallery .image-embed-item {
  max-height: 100px;
  max-width: 100%;
  width: auto;
  transition: var(--standardtransition);
}

.infoleiste {
  right: calc(50% - 850px);
  top: 25px;
  padding-top: 0;
  transition: var(--standardtransition);
  overflow: hidden;
  position: absolute;
  z-index: 1;
  /* display: none; */
}

.infoleiste .ce-gallery,
.infoleiste .ce-gallery .ce-row {
  margin: 0;
}

.infoleiste .ce-gallery figcaption {
  color: var(--schwarz);
  font-weight: 300;
  font-size: 18px;
}

.infoleiste .ce-gallery .ce-row {
  float: left;
}

.infoleiste .ce-gallery .ce-row+.ce-row {
  margin-left: 15px;
}

.infoleiste .ce-gallery picture {
  float: left;
  margin-right: 10px;
}

.infoleiste .ce-gallery a {
  display: flex;
  align-items: center;
}

#oben>.frame-default {
  position: relative;
  transition: var(--standardtransition);
  width: 275px;
}

#oben.scroll .infoleiste {
  height: 0;
  padding: 0;
}

#oben.scroll>.frame-default .ce-gallery {
  margin: 5px 0;
}

#oben.scroll>.frame-default .ce-gallery .image-embed-item {
  max-height: 75px;
}

:focus-visible {
  outline: var(--outline) auto 2px;
}

#mobnav,
ul.hnavi input[name="togglesub"] {
  position: absolute;
  top: 0;
  right: 0;
  visibility: hidden;
}

a.link-file {
  padding: 15px 20px 15px 40px;
  background-image: url(/fileadmin/cn_website/fachakademie/images/download.svg);
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 20px;
  background-color: #056ab3;
  color: var(--weiss) !important;
  border-radius: 35px;
  display: inline-block;
  transition: var(--standardtransition);
}

a.link-file:hover {
  background-color: var(--orange);
}

.frame-bewerben {
  position: absolute;
  display: none;
  right: -5vw;
  top: 95px;
}

.frame-bewerben a {
  display: block;
  background-color: var(--dunkelblau);
  background-image: url(/fileadmin/cn_website/fachakademie/images/link.svg);
  background-repeat: no-repeat;
  background-position: calc(100% - 5px) center;
  background-size: 30px;
  color: var(--weiss);
  border-radius: 25px 0 0 25px;
  padding: 10px 40px 10px 30px;
  width: 130px;
  font-weight: 700 !important;
}

/* #oben.scroll .hnavi > li:first-of-type{
    margin-left: 40px;
} */

/* #header > .frame > .rahmen, */
#inhaltsbereich>.frame>.rahmen,
#footer>.frame>.rahmen {
  max-width: 1300px;
  margin: 0 auto;
}

#inhaltsbereich.sub>.frame>.rahmen {
  max-width: 1170px;
}


/* #inhaltsbereich>.frame:not(.frame-breit) header,
#inhaltsbereich>.frame-default.tx_cn-multicontent .cn_multicontent_teaser,
#inhaltsbereich>.frame-default.frame-type-textmedia .ce-textpic:not(.ce-nowrap, .ce-left) .ce-bodytext,
#inhaltsbereich>.frame-default.tx_cn-multicontent .cn_multicontent_teaser{
  max-width: 800px;
} */

#header {
  margin-top: var(--hoben);
  transition: var(--standardtransition);
  padding: 0;
  margin-bottom: 60px;
}

#oben.scroll+#header {
  margin-top: 64px;
}

#header .ce-bodytext {
  position: absolute;
  bottom: 40px;
  left: 2%;
  padding: 40px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.4em;
  background: var(--orange);
}

#header .ce-bodytext a {
  color: var(--weiss);
  font-size: 18px;
}

#header .ce-bodytext::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 25px;
  background: var(--orange);
  clip-path: none;
}

#header .ce-bodytext::after {
  display: none;
}

#header .ce-bodytext a.more {
  position: absolute;
  left: 40px;
  bottom: 40px;
  padding: 0 0 0 40px;
  text-decoration: underline;
}

#header.sub {
  padding-bottom: 0;
  overflow: visible;
}

#header.sub .ce-textpic {
  overflow: visible;
}

#header.sub .ce-gallery,
#header.sub .ce-gallery .ce-column,
#header.sub .ce-gallery .ce-column .image,
#header.sub .ce-gallery .ce-column .image img {
  width: auto;
}

#header.sub .ce-gallery {
  float: right;
  margin-right: 15%;
  box-shadow: 40px 40px 0 0 var(--orange);
}

.weiterbildung #header.sub .ce-gallery {
  box-shadow: 40px 40px 0 0 var(--orange);
}

.aktuell #header.sub .ce-gallery {
  box-shadow: 40px 40px 0 0 var(--orange);
}

.kontakt #header.sub .ce-gallery {
  box-shadow: 40px 40px 0 0 var(--dunkelblau);
}

#inhaltsbereich.sub>.frame.breadcrumb {
  margin: 40px 0;
}

.down,
.to-top {
  display: none;
}

#inhaltsbereich>.frame-default .ce-gallery {
  max-width: 75%;
}

.ce-intext.ce-nowrap .ce-gallery {
  margin-top: 0;
}

.news .news-content a.more {
  background: none !important;
  position: absolute;
  width: 100% !important;
  height: 100%;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  text-indent: -99999px;
}

.ce-bodytext a.more {
  color: var(--weiss);
  text-align: left;
  font-size: 16px;
  font-weight: 400;
  background: var(--gruen);
  border-radius: var(--radius);
  display: inline-block;
  padding: 5px 20px;
}

.news .news-content a.more::before,
.ce-bodytext a.more::before {
  display: none;
}

@media (hover: hover) and (pointer: fine) {

  .news .news-content a.more:hover::before,
  .ce-bodytext a.more:hover::before {
    transform: rotate(45deg);
  }

  .news .news-content a.more:hover,
  .ce-bodytext a.more:hover {
    background: var(--dunkelblau);
  }
}


h1,
h2 {
  color: var(--dunkelblau);
  margin: 0 0 0.5em;
  padding: 0;
  font-weight: 400;
  line-height: 1.4em;
  font-size: 36px;
  opacity: 0;
}

h3,
h4,
h5,
h6 {
  color: var(--dunkelblau);
  line-height: 1.4em;
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  line-height: 1.4em;
}

h3 {
  font-weight: 400;
}

h2.folgt {
  font-size: 36px;
  color: var(--dunkelblau);
  font-weight: 400;
}

.zweizeilig {
  margin-bottom: 0;
}


header h1 span.fett{
  font-weight: 700;
  margin-left: 0.25em;
}

.frame-layout-1 {
  background: var(--bgblau);
  padding: 120px 0;
  margin-top: 0 !important;
}

.tx_cn-columns .frame-layout-1 {
  padding: 0;
}

.frame-layout-2 {
  background: var(--hellgrau);
  padding: 50px 0;
  margin-top: 0 !important;
}

#inhaltsbereich>.frame:not(.breadcrumb)+.frame {
  margin-top: 80px !important;
}

#inhaltsbereich>.frame:not(.breadcrumb)+.frame.frame-space-before-1 {
  margin-top: 0 !important;
}

header {
  margin-bottom: 40px;
}

h1::after,
h2:not(.folgt)::after {
  display: none;
}

#inhaltsbereich {
  margin: 0;
}

#inhaltsbereich img {
  border-radius: var(--radius);
}

#inhaltsbereich>.frame.frame-space-after-1+.frame,
#inhaltsbereich>.frame.frame-space-before1 {
  margin-top: 0 !important;
}

.news .news-list-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news .news-list-view .article {
  box-shadow: 0 0 2px var(--schwarz);
  margin: 0;
  padding: 0;
  height: 100%;
}

.news .news-list-view .article:nth-child(3n+ 2) {
  margin: 0 2% 40px;
}

.news .news-list-view .article .content {
  width: 96%;
  padding: 10px 2% 60px 2%;
  margin-top: 0;
  height: 100%;
}

.news .news-listslider-view .article .news-content {
  clip-path: none;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--weiss);
  color: var(--schrift);
}

.news .news-listslider-view .owl-nav button.owl-next,
.news .news-listslider-view .owl-nav button.owl-prev {
  background-image: url(/fileadmin/cn_website/st-josef/images/down.svg) !important;
  transform: rotate(90deg) !important;
  width: 30px;
  height: 30px;
  top: calc(50% - 15px);
  right: -40px;
}

.news .news-listslider-view .owl-nav button.owl-prev {
  left: -40px;
}

.news .news-listslider-view .owl-nav button.owl-next {
  transform: rotate(-90deg) !important;
}


.news-listslider-view .article::before {
  content: 'aktuell';
  position: absolute;
  top: 0;
  left: 0;
  background: var(--pink-orange);
  color: var(--weiss);
  padding: 5px 20px;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 700;
}

.news .news-list-view .article .news-img-wrap {
  margin: 0;
  width: 100%;
}

.news .article .news-img-wrap a {
  width: 100%
}

.news .article .news-img-wrap img {
  width: 100% !important;
  border-radius: 0 !important;
  height: 300px !important;
  object-fit: cover;
  object-position: center;
}

.owl-dots {
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.owl-carousel button.owl-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 100%;
  background: var(--dunkelblau);
  margin: 0 2px;
}

.owl-carousel button.owl-dot.active {
  background: var(--orange);
}

.ce-nowrap .ce-bodytext {
  padding-left: 0px;
}

blockquote {
  background: var(--bgblau);
  margin: 0;
  padding: 18px 40px;
}

blockquote::before {
  color: var(--dunkelblau);
  left: 0;
  top: 40px;
}

#inhaltsbereich>.frame:last-child {
  padding-bottom: 60px;
}

.frame-type-menu_pages .menu-mit-bildern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(465px, 1fr));
  gap: 40px;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.frame-type-menu_pages .menu-mit-bildern li {
  text-align: center;
}

.frame-type-menu_pages .menu-mit-bildern li .box {
  padding: 10px 30px;
  border-radius: var(--radius);
  background: var(--dunkelblau);
  color: var(--weiss);
  position: relative;
  margin-top: -30px;
  display: block;
  transition: var(--standardtransition);
}

.frame-type-menu_pages .menu-mit-bildern li a:hover .box {
  background-color: var(--dunkelblau);
}

.frame-type-menu_pages .menu-mit-bildern img {
  border-radius: 50%;
}

/* Kacheln */
.frame-kachel .row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
}

.frame-kachel .row>div {
  position: relative;
}

.frame-kachel .ce-bodytext {
  background: var(--weiss);
  padding: 20px;
  border-radius: 0 var(--radius) 0 0;
  width: 75%;
  position: relative;
}

.frame-kachel .ce-gallery {
  margin-bottom: -120px;
}

.frame-kachel .ce-bodytext h2 {
  color: var(--orange);
}

.linkoverlay {
  position: absolute;
  display: block;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
}

.frame-farbkacheln .ce-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  gap: 40px
}

.frame-farbkacheln .ce-gallery .ce-row {
  background: var(--pink-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 var(--radius) var(--radius);
  height: 275px;
  position: relative;
  margin: 0;
}

.frame-farbkacheln .ce-gallery .ce-row:nth-child(3n + 2) {
  background: var(--gelb-gruen);
}

.frame-farbkacheln .ce-gallery .ce-row:nth-child(3n + 3) {
  background: var(--lila-blau);
}

.frame-farbkacheln .ce-gallery .ce-row .ce-column .image .image-embed-item {
  border-radius: 0 !important;
  height: 150px;
  padding-bottom: 45px;
}

.frame-farbkacheln .ce-gallery .ce-row .ce-column .image-caption {
  color: var(--weiss);
  background: var(--dunkelblau);
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% - 40px);
  padding: 15px 20px;
  font-weight: 700;
}

/* Suche */
.tx-indexedsearch-searchbox legend,.tx-indexedsearch-searchbox fieldset + p,.tx-indexedsearch-rules,.tx-indexedsearch-info,.tx-indexedsearch-percent,.tx-indexedsearch-icon,.tx-indexedsearch-info-sword,.tx-indexedsearch-info-sword-word {
    display: none;
}

.tx-indexedsearch-searchbox {
    margin-bottom: 40px;
}

.tx-indexedsearch-searchbox fieldset {
    border: none;
    padding: 0;
}

.tx-indexedsearch-searchbox input {
    font-family: 'Noto Sans',Arial,Verdana,sans-serif;
    font-weight: 400;
    font-size: 22px;
    padding: 5px 10px;
}

.tx-indexedsearch-searchbox .tx-indexedsearch-form label,.tx-indexedsearch-searchbox input.tx-indexedsearch-searchbox-sword {
    display: block;
    margin-bottom: 10px;
}

.tx-indexedsearch-searchbox .tx-indexedsearch-searchbox-button {
    cursor: pointer;
    background: var(--gruen);
    color: var(--weiss);
    transition: var(--standardtransition);
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
}

.tx-indexedsearch-searchbox .tx-indexedsearch-searchbox-button:hover {
    background: var(--dunkelblau);
}

.tx-indexedsearch-redMarkup {
    background: var(--gruen);
    color: var(--weiss);
}
/* -- Footer -- */

#footer,
#footer .tx_cn-multicontent:last-child {
  background: #fad8c5;
  color: var(--schrift);
  margin-top: 0;
  hyphens: auto;
  hyphenate-limit-chars: auto 6 5;
  -webkit-hyphens: auto;
  border: none;
  padding: 40px 0;
  font-size: 16px;
}

#footer header {
  margin-bottom: 0;
}

#footer h2 {
  padding: 0;
  color: var(--schrift);
  font-size: 16px;
  font-weight: 400;
}

#footer .tx_cn-multicontent:last-child {
  background-color: var(--dunkelblau);
  color: var(--weiss);
}

#footer a {
  color: var(--schrift);
}

#footer .tx_cn-multicontent:last-child::before {
  display: none;
}

#footer .tx_cn-multicontent .row>div:last-child .ce-gallery {
  float: left;
}

#footer .tx_cn-multicontent:last-child .ce-textpic {
  display: flex;
  align-items: center;
  gap: 15px;
}

#footer .tx_cn-multicontent:last-child ul li {
  padding-left: 15px;
  position: relative;
}

#footer .tx_cn-multicontent:last-child ul li::before {
  content: ">";
  display: inline-block;
  width: 10px;
  position: absolute;
  left: 0;
  top: 1px;
}

#footer>.frame-default.frame-type-textmedia {
  float: left;
  clear: both;
  width: 100%;
}