

#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;
}
}






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

#tagespflege-branding a { display: block; }


/* TAGESPFLEGE */
#tagespflege-branding {
  background: rgba(255,255,255,1);
  border-radius: 0 0 2rem 2rem;
  padding: 10px;
  box-shadow: 5px 18px 18px rgba(0,0,0,.08);
  left: 60px;
  top: -108px;
}

#tagespflege-branding span.svg-brand {
  display: inline-block;
  width: 325px;
  height: 192px;

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

#tagespflege-branding span.svg-brand {
  width: 325px;
  height: 192px;
  background-size: 325px auto;
}

@media (max-width: 768px) {
#tagespflege-branding span.svg-brand {
  width: 285px;
  height: 169px;
  background-size: 285px auto;
}
#tagespflege-branding {
  left: 35px;
  top: -100px;
}
}

@media (max-width: 480px) {
  #tagespflege-branding span.svg-brand {
    width: 170px;
    height: 101px;
    background-size: 170px auto;
  }
  #tagespflege-branding {
    border-radius: 0 0 1rem 1rem;
    padding: 8px;
    left: 15px;
    top: -90px;
  }
  }



/* 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-custom120 {
  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-custom120 p { margin-bottom: 22px; }

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

#fixed-right #mod-custom120 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-custom120 p:last-child a:hover { background: transparent; box-shadow: none; color: var(--ehr-gray); }
#fixed-right #mod-custom120 p:last-child a:hover {
    background: transparent;
    box-shadow: none;
    color: white;
    border-color: white;
}

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

#fixed-right #mod-custom120 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-custom120 p:last-child a:hover::before {
    width: 100%;
    opacity: 1;
}


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

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

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

#fixed-right #mod-custom120 {
  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-custom120 {
  bottom: -500px;
  right: 35px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom120 {
  bottom: 35px;
  right: 35px;
} /* .moduletable.actn-mod.show */
}

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

#fixed-right #mod-custom120 {
  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-custom120  {
  bottom: 42.5%;
  right: -500px;
} /* .moduletable.actn-mod.invisible */
#fixed-right #mod-custom120 {
  bottom: 42.5%;
  right: 0px;
} /* .moduletable.actn-mod.show */


}

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