
#content h1,
#content h2 {
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (min-width: 1101px) and (max-width: 1200px) {
nav ul li.item-101 {
  display: none;
}
}

#bg-brand { display: none; }
.aktuelles #bg-brand { display: block; }

@media (max-width: 1024px) {
#position-2 { width: 45%; margin-right: 3%; margin-bottom: 40px; }
#position-3 { width: 45%; margin-right: 3%; margin-bottom: 40px; }
#position-4 { width: 45%; margin-right: 3%; margin-bottom: 20px; }
#position-5 { width: 45%; margin-right: 3%; margin-bottom: 20px; }
}

@media (max-width: 768px) {
#position-2 { width: 45%; margin-right: 3%; margin-bottom: 40px; }
#position-3 { width: 45%; margin-right: 3%; margin-bottom: 40px; }
#position-4 { width: 45%; margin-right: 3%; margin-bottom: 20px; }
#position-5 { width: 45%; margin-right: 3%; margin-bottom: 20px; }
}

@media (max-width: 680px) {
#position-1, #position-2, #position-3, #position-4, #position-5, #position-6 { display: block; position: relative; width: 100%; margin-bottom: 40px; }
}


#content div.unterstuetzung-spendenkonto-wrapper h2 {
  margin-top: 5px;
  margin-bottom: 30px;
}

.home header .random-image-cover {
  background-size: 101% auto;
  background-position: center 55%;
}


@media (max-width: 680px) {
body.home header .random-image-cover {
  background-size: auto 102%;
  background-position: center bottom;
}
}






#pzrof-branding {
  z-index: 5;
  position: absolute;
  top: -115px;
  left: 40px;
}

#pzrof-branding a { display: block; line-height: 0 !important; }


/* PZ ROF */
#pzrof-branding {
  background: rgba(255,255,255,0);
  border-radius: 15px;
  padding: 0px;
  box-shadow: 5px 18px 18px rgba(0,0,0,.08);
  left: 70px;
  top: -135px;
}

#pzrof-branding span.svg-brand {
  display: inline-block;
  width: 260px;
  height: 260px;

  background-image: url(../images/pzrof-branding.svg);
  background-position: center center;
  background-repeat: no-repeat;
  margin: 0 auto;
  padding: 0;
}

#pzrof-branding span.svg-brand {
  width: 260px;
  height: 260px;
  background-size: 260px auto;
}


@media (max-width: 1100px) {
#pzrof-branding span.svg-brand {
  width: 240px;
  height: 240px;
  background-size: 240px auto;
}
#pzrof-branding {
  left: 60px;
  top: -125px;
}
}


@media (max-width: 768px) {
#pzrof-branding span.svg-brand {
  width: 220px;
  height: 220px;
  background-size: 220px auto;
}
#pzrof-branding {
  left: 60px;
  top: -72px;
}
}

@media (max-width: 480px) {
  #pzrof-branding span.svg-brand {
    width: 160px;
    height: 160px;
    background-size: 160px auto;
  }
  #pzrof-branding {
    left: 20px;
    top: -85px;
  }
  }



/* ITEM INDIVIDUAL STYLE */
.featured-grid-wrapper .grid-items .item.tagespflege {
  background-image: url(../../../images/tagespflege/tagespflege_image00002.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: 88% center;
  background-color: white;
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.schnuppertag {
  background-image: url(../../../images/header-default/cdc-F98Mv9O6LfI-unsplash.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.leistungen {
  background-image: url(../../../images/header-default/conscious-design-JDL3c2zSI_s-unsplash.jpg);
  background-size: auto 102%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
  transition: all .3s ease;
}

.featured-grid-wrapper .grid-items .item.leistungen:hover,
.featured-grid-wrapper .grid-items .item.tagespflege:hover,
.featured-grid-wrapper .grid-items .item.schnuppertag:hover {
  background-size: auto 105%;
}

#content .featured-grid-wrapper .grid-items .item.leistungen:hover p a,
#content .featured-grid-wrapper .grid-items .item.tagespflege:hover p a,
#content .featured-grid-wrapper .grid-items .item.schnuppertag:hover p a {
  box-shadow: inset 0 -1.38em 0 var(--ehr-cyan);
  color: white;
}

.featured-grid-wrapper .grid-items .item.leistungen .item-content-wrapper,
.featured-grid-wrapper .grid-items .item.schnuppertag .item-content-wrapper,
.featured-grid-wrapper .grid-items .item.tagespflege .item-content-wrapper {
  padding: 20px 20px 15px 20px;
  background: white;
}





/* FIXED RIGHT */
#fixed-right { display: none; }

@media (min-width: 360px) {
#fixed-right { display: block; }

#fixed-right h3 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
}

#fixed-right { margin-top: 0px; }
#fixed-right #mod-custom116 {
  text-align: center;
  display: block;
  background-color: var(--ehr-cyan);
  color: white;

  border-radius: 0;
  border: 0px solid white;
  border-bottom: 0px;
  border-left: 0px;
  border-right: 0px;
  border-top: 0px;
  position: fixed;
  bottom: 42.5%;
  bottom: -500px;
  z-index: 10;
  font-size: 90%;
  width: 100%;
  padding: 20px 20px 5px 20px;
  transition: all .2s ease;
}

#fixed-right #mod-custom116 p { margin-bottom: 22px; }

#fixed-right #mod-custom116 p:last-child a { z-index: 2; }

#fixed-right #mod-custom116 p:last-child a {
  display: inline-block;
  position: relative;
  padding: 8px 15px;
  background-color: white;
  color: var(--ehr-gray);

  border: 2px solid white;
  border-radius: 2px;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.25em;
}

#fixed-right #mod-custom116 p:last-child a:hover { background: transparent; box-shadow: none; color: var(--ehr-gray); }
#fixed-right #mod-custom116 p:last-child a:hover {
    background: transparent;
    box-shadow: none;
    color: white;
    border-color: white;
}

#fixed-right #mod-custom116 p:last-child a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}

#fixed-right #mod-custom116 p:last-child a::before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: -1;
    background: transparent;
    opacity: 0;
}
#fixed-right #mod-custom116 p:last-child a:hover::before {
    width: 100%;
    opacity: 1;
}


#fixed-right #mod-custom116 {
  bottom: -500px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom116 {
  bottom: 0px;
} /* .moduletable.actn-mod.show */

#fixed-right #mod-custom116 h3,
#fixed-right #mod-custom116 p:nth-of-type(1) { display: none; }
}

@media (min-width: 768px) {
#fixed-right #mod-custom116 h3,
#fixed-right #mod-custom116 p:nth-of-type(1) { display: block; }

#fixed-right #mod-custom116 {
  text-align: left;
  border-radius: 4px;
  border: 0px solid white;
  position: fixed;
  bottom: -500px;
  right: 35px;
  font-size: 75%;
  width: 195px;
  padding: 20px 25px 2px 22px;
}
#fixed-right #mod-custom116 {
  bottom: -500px;
  right: 35px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom116 {
  bottom: 35px;
  right: 35px;
} /* .moduletable.actn-mod.show */
}

@media (min-width: 1441px) {
#fixed-right #mod-custom116 h3,
#fixed-right #mod-custom116 p:nth-of-type(1) { display: block; }

#fixed-right #mod-custom116 {
  text-align: left;
  border-radius: 4px 0 0 4px;
  border: 0px solid white;
  border-right: 0px;
  position: fixed;
  bottom: 42.5%;
  right: -500px;
  font-size: 75%;
  width: 215px;
  padding: 20px 25px 2px 22px;
}
#fixed-right #mod-custom116  {
  bottom: 42.5%;
  right: -500px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom116 {
  bottom: 42.5%;
  right: 0px;
} /* .moduletable.actn-mod.show */


}

@media (min-width: 1800px) { #fixed-right #mod-custom116 { width: 250px; } }


body.jobs .category-desc {
  margin-bottom: 80px;
}

body.jobs #content div[itemprop="blogPost"] h2 {
  font-size: 1.35em;
}



body.jobs div[itemprop="blogPost"] {
  background: var(--ehr-blue5);
  padding: 35px 35px 25px;
  border-radius: 14px;
  margin-bottom: 50px;
}


/* Diakonie Zeichen */

#second-lastrow-wrapper {
  background-image: url(../images/diakonie-zeichen.png);
  background-repeat: no-repeat;
  background-position: 85% 101%;
  background-size: auto 160px;
}

@media (min-width: 1025px) {
#second-lastrow-wrapper {
  background-position: 92% 101%;
  background-size: auto 160px;
}
}

@media (max-width: 640px) {
#second-lastrow-wrapper {
  background-position: 50% 101%;
  background-size: auto 140px;
  padding-bottom: 145px;
}
}


/* MDK Score */

.mdk-score-section {
  width: 100%;
  margin: 50px auto 0;
}

.mdk-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
  width: 100%;
}

.mdk-score-item {
  display: grid;
  grid-template-rows: 100px 70px;
  gap: 25px;
}

#content .mdk-score-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 10px;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  font-style: normal !important;
  text-align: center;
  color: var(--ehr-gray);
}

.mdk-score {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 70px;
  border: 3px solid var(--ehr-blue);
  border-radius: .5rem;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 700;
  color: var(--ehr-gray);
  background: transparent;
}

#content .mdk-score-report {
  margin: 45px 0 0;
  padding: 0;
  text-align: center;
  font-size: .90em;
  line-height: 1.5;
}

#content .mdk-score-report a {
  padding: 0;
  color: var(--ehr-cyan);
  background: transparent;
  box-shadow: none;
  text-decoration: none;
}

#content .mdk-score-report a:hover {
  color: var(--ehr-cyan);
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .mdk-score-section {
    margin-top: 50px;
  }

  .mdk-score-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mdk-score-item {
    grid-template-rows: auto 95px;
    gap: 18px;
  }

  #content .mdk-score-item h3 {
    display: block;
    padding: 0;
    font-size: 1.15rem;
    line-height: 1.4;
  }

  .mdk-score {
    height: 95px;
    font-size: 1.5rem;
  }

  #content .mdk-score-report {
    margin-top: 45px;
    font-size: .95rem;
  }
}