/*
ANcom.media
*/

* {
  background: transparent;
  border: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  -ms-box-sizing:border-box;
  box-sizing:border-box;
}

:after, :before, a:after, a:before {
    box-sizing: border-box;
}

@charset "UTF-8";

/*

blau 1: rgba(241,245,250,1)
blau 2: rgba(210,226,240,1)
blau 3: rgba(145,189,220,1)
blau 4: rgba(70,161,205,1)

cyan rgba(226,0,122,1)

*/

:root {
  --ehr-blue: rgba(145,189,220,1); /* RGB _ */
  --ehr-blue2: rgba(215,231,245,1); /* RGB _ */
  --ehr-blue3: rgba(145,189,220,1); /* RGB _ */
  --ehr-blue4: rgba(50,161,205,1); /* RGB _ */
  --ehr-blue5: rgba(241,245,250,1); /* RGB _ */
  --ehr-cyan: rgba(226,0,122,1); /* RGB _ */
  --ehr-gray: #222; /* RGB _ */
  --ehr-gray2: rgb(234,234,238); /* RGB _ */
}

body, html {
  height: 100%;
  font-size: 100%;
}

body {
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
  background-color: var(--ehr-blue3);
  color: var(--ehr-gray);
  padding: 0;
  margin: 0;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

img {
  width: 100%;
  max-width: 100%;
}

#content img {
  border-radius: .5rem;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  height: auto;
}

h1 { font-size: 2.1em; line-height: 1.2em; }
h2 { font-size: 2.1em; line-height: 1.2em; }
h3 { font-size: 1.3em; line-height: 1.5em; }
h4 { font-size: 1.3em; line-height: 1.5em; }
p { font-size: 100%; line-height: 1.55em; }

h1, h2 {
  margin: 0 0 40px 0;
  color: var(--ehr-gray);
  font-weight: 700;
}
h3, h4 {
  margin: 0 0 30px 0;
  color: var(--ehr-blue4);
  font-weight: 700;
}

.blog h1, .blog h2 { margin: 0 0 30px 0; }
.item-page h1, .item-page h2 { margin: 0 0 75px 0; }
.blog h3, .blog h4,
.item-page h3, .item-page h4 { margin: 0 0 30px 0; }

.home #content h1, .home #content h2 { margin: 35px 0 15px 0; }
.home #content h3, .home #content h4 { margin: 0 0 35px 0; font-style: italic; }

.less-headline-margin h2 { margin-bottom: 30px; }

@media(max-width: 640px) {
h1 { font-size: 1.8em; line-height: 1.15em; }
h2 { font-size: 1.8em; line-height: 1.15em; }
h3 { font-size: 1.2em; line-height: 1.4em; }
h4 { font-size: 1.2em; line-height: 1.4em; }
}

p {
  margin: 0 0 23px 0;
  padding: 0;
}
p.readmore {
  margin: 35px 0 23px 0;
}

strong { font-weight: 700; }

p.datenschutz-subheadline { margin-top: 65px; }
p.faq-subheadline { margin-top: 65px; }
p.avb-subheadline { margin-top: 65px; }

#content p { font-size: 110%; line-height: 1.6em; }

#content .item-page.news div[itemprop="articleBody"] h2,
#content .item-page.news h3 {
  font-size: 1.1em !important;
  line-height: 1.5em !important;
  margin-top: 60px !important;
  text-align: left !important;
}

.label-warning { color: red; background-color: rgba(255,0,0,0.15); padding: 10px; display: block; margin: 15px 0; }

a {
  text-decoration: none;
  color: #000;
  cursor: pointer;
}

a:after, a:before {
  box-sizing: border-box;
}

h2 a {
  color: var(--ehr-gray);
/*  padding-left: 2px;
  padding-right: 2px;
  border-bottom: 3px solid rgba(0,53,93,0.1); */

  transition: all .2s ease-in-out;
}

h2 a:hover {
/*  border-bottom: 3px solid rgba(0,53,93,0.3); /* #00355d */
/*  background-color: var(--ehr-blue); */
  color: var(--ehr-cyan);
}

#above-content a,
label a,
#sidebar a,
#below-content .moduletable p a,
#content .content-links a,
#content ul.latestnews a,
.moduletable-contact a,
.moduletable-faq a,
#content p a {
  padding: .13em .1em;
  box-shadow: inset 0 -0.19em 0 var(--ehr-cyan);
  transition: all .2s;
}


#above-content a:hover,
label a:hover,
#content ul.latestnews a:hover,
#sidebar li.current a,
#sidebar a:hover,
#below-content .moduletable p a:hover,
#content .content-links a:hover,
.moduletable-contact a:hover,
.moduletable-faq a:hover,
#content p a:hover {
  box-shadow: inset 0 -1.38em 0 var(--ehr-cyan);
  color: white;
}

.cookiemsg-text a { box-shadow: inset 0 -0.19em 0 var(--ehr-gray); color: white; transition: all .2s; }
.cookiemsg-text a:hover { box-shadow: inset 0 -1.35em 0 var(--ehr-gray); color: white; }

.none-shadow a,
#content .none-shadow a,
#sidebar .none-shadow a { box-shadow: none !important; }
.none-shadow a:hover,
#content .none-shadow a:hover,
#sidebar .none-shadow a:hover { background-color: transparent !important; }

#content ul, ol {
  margin-left: 40px;
  margin-bottom: 23px;
  line-height: 1.45em;
}
#content .pagination  ul { margin-left: 0; }

#content ul li { list-style-type: circle; margin-bottom: 6px; padding-left: 6px; }
#content ul li:hover { list-style-type: disc; }

#content ol li { list-style-type: decimal; margin-bottom: 3px; padding-left: 6px; }


#content ul.buttons {
    margin: 55px 0;
    padding: 0 !important;
}
#content ul.buttons li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: block;
  width: 100%;
  text-align: center;
}
#content ul.buttons.align-left li { text-align: left; }

#content ul.buttons li a {
  display: inline-block;
  padding: 17px 34px;
  margin: 0 0 15px 0;
  border-radius: 2rem;
  border: 3px solid var(--ehr-blue);
  color: var(--ehr-gray);
  font-weight: 700;
  transition: all .3s ease;
  box-shadow: none !important;
}
#content ul.buttons li a:hover {
  border-color: var(--ehr-gray);
  color: var(--flot-gray);
  box-shadow: none !important;
}


hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


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

#ehr-branding a { display: block; }


#ehr-branding span.svg-brand {
  display: inline-block;
  width: 315px;
  height: 319px;

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

#ehr-branding span.svg-brand {
  width: 315px;
  height: 319px;
  background-size: 315px auto;
}

@media (max-width: 768px) {
#ehr-branding {
  top: -115px;
  left: 0px;
}
}

@media (max-width: 480px) {
#ehr-branding {
  top: -105px;
  left: -25px;
}
#ehr-branding span.svg-brand {
  width: 210px;
  height: 213px;
  background-size: 210px auto;
}
}

a.cookiemsg-accept,
#content p.readmore a {
  box-shadow: none;
  background: none;
  padding: .55em .9em;
  font-size: .9em;
  color: white;
  border: 3px solid white;
  position: relative;
  z-index: 2;
  font-weight: 700;
  cursor: pointer;
  border-radius: .25rem;
}
a.cookiemsg-accept { color: black; border: 0px solid white; font-size: 1.1em; display: block; padding: 1.25em 1em; margin: 8px 0; text-align: center; background: white; }

a.cookiemsg-decline {
  display: block;
  color: white;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  margin-bottom: 0px;
  cursor: pointer;
}

a.cookiemsg-decline:hover {
  text-decoration: underline;
  color: white;
}


#content p.readmore a {
  display: inline-block;
  color: white;
  background: var(--ehr-cyan);
  padding: .55em 1.25em;
  border: none;
  border-radius: .25rem;
}

#content p.readmore a:hover { color: white; background: var(--ehr-cyan); box-shadow: var(--ehr-gray); border-color: var(--ehr-gray); }
a.cookiemsg-accept:hover { color: white; background: white; box-shadow: var(--ehr-gray); border-color: var(--ehr-gray); }



a.cookiemsg-accept::before,
#content p.readmore a::before {
    content: '';
    width: 1px;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: -1;
    background: var(--ehr-gray);
    opacity: 0;
    border-radius: .25rem;
}
#content p.readmore a::before {
  background: var(--ehr-gray);
  color: white;
  border-radius: .25rem;
}
a.cookiemsg-accept::before { background: var(--ehr-gray); }

a.cookiemsg-accept:hover::before,
#content p.readmore a:hover::before {
    width: 100%;
    opacity: 1;
}

/* COOKIE MSG */
#cookiemsg-wrapper {
  position: fixed;
  background: var(--ehr-cyan);
  color: #FFF;
  bottom: 40px;
  right: 40px;
  min-width: 400px;
  max-width: 425px;
  padding: 22px 25px 28px 25px;
  padding-bottom: 0;
  font-size: 85%;
  z-index: 999;
  transition: all .2s ease;
  border-radius: .25rem;
  border: 2px solid var(--ehr-cyan);
}

#cookiemsg-wrapper.accepted {
  opacity: 0;
  bottom: -135px;
  visibility: hidden;
}

@media (max-width: 640px) {
#cookiemsg-wrapper {
  bottom: 5%;
  right: 5%;
  min-width: 90%;
  max-width: 90%;
  padding: 20px;
}
}

#firstgrid {
  width: 100%;
/*  max-width: 1600px; */
  margin: 0 auto;
  background-color: white;
}

#inner-container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 50px;
}
@media(max-width: 768px) {
header #inner-container { padding: 0; }
footer #inner-container { padding: 0 40px; }
}
@media(max-width: 640px) {
header #inner-container,
footer #inner-container,
#inner-container {
  width: 86%;
  padding: 0;
}
#inner-container.firstrow { padding: 0 20px; }
}

header {
  position: relative;
  padding: 0;
  margin: 0;
  background-color: white;
  /* border-bottom: 12px solid var(--ehr-blue2); */
}

#bg-brand {
  position: absolute;
  width: 100%;
  height: 100%;

  background-image: url(../images/bg-brand.png);
  background-position: -50px top;
  background-size: 915px auto;
  background-repeat: no-repeat;
}


@media (min-width: 768px) {
header.header-wrapper.padding { padding-bottom: 67px !important; } /* 55 (nav ul li a height) + 12 (nav padding) */

header .nav-wrapper.fixed {
  transition: all .56s cubic-bezier(0.52, 0.16, 0.24, 1);
  -webkit-transition: all .56s cubic-bezier(0.52, 0.16, 0.24, 1);
}
header .nav-wrapper.invisible {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0,0,0,.8); /* var(--ehr-blue2) */
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  border-bottom: 4px solid rgba(255,255,255,.2);
}
header .nav-wrapper.fixed {
  opacity: 1;
  visibility: visible;
  -webkit-box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
  -moz-box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
  box-shadow: 0px -10px 90px 0px rgba(54,41,35,0.5);
}
header .nav-wrapper.fixed ul li a { line-height: 55px; }
}
@media (min-width: 769px) {
header .nav-wrapper.fixed {
  padding: 0;
  /* padding: 10px 0; */
}
}

#firstrow {
  position: relative;
  display: none;
  height: 48px;
  line-height: 48px;
  padding: 0;
  font-size: .80em;
  background-color: transparent;
  color: var(--ehr-gray);
  border-bottom: 0px solid var(--ehr-gray2);
  font-weight: 400;
}
#firstrow.alert { display: block; }
@media (min-width: 768px) { #firstrow { display: block; } }

#firstrow .left {
  position: absolute;
  left: 5px;
}
#firstrow .right {
  position: absolute;
  right: 5px;
}

#firstrow a { color: var(--ehr-gray); }
#firstrow a:hover { color: var(--ehr-gray); text-decoration: underline; }

#firstrow .left a { text-decoration: none; }
#firstrow .left a:hover { text-decoration: underline; }

#firstrow.alert a { color: var(--ehr-blue); text-decoration: underline; }
#firstrow.alert a:hover { color: var(--ehr-blue); text-decoration: none; }

#firstrow.alert {
  padding: 0;
  border: 0;
  height: auto;
  line-height: 0;
}

#firstrow.alert .moduletable {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 11px 10px 13px 10px;
  background: #e0f3fb;
  color: var(--ehr-blue);

  position: relative;
}
#firstrow.alert p {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  line-height: 1.25em;
}
#firstrow.alert .moduletable.firstrow:last-of-type {
  border-radius: 0 0 .5rem .5rem;
}


#above-content {
  margin: 0 auto;
  max-width: 1480px;
}
@media (min-width: 1921px) { #above-content { max-width: 1600px; } }


#above-content .mod-div-start-wrapper.bautagebuch {
  width: 92%;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 60px;
/*  background: rgba(225,0,122,.15);
  color: var(--ehr-cyan); */
  background: var(--ehr-blue5);
  padding: 30px 50px 25px 50px;
  border-radius: 1rem;
}

body.view-article #above-content .mod-div-start-wrapper.bautagebuch {
  display: none;
  margin: 0;
  padding: 0;
}


#above-content .moduletable.flott-alert {
  width: 100%;
  margin: 35px auto;
  background: #e0f3fb;
  color: var(--ehr-blue);
  padding: 25px 30px;
  border-radius: .5rem;
  font-size: .82em;
  position: relative;
}
#above-content .moduletable.flott-alert p { margin-bottom: 0; }

@media(max-width: 1480px) {
#above-content .moduletable.flott-alert {
  width: 92%;
  max-width: 1280px;
}
}


nav {
  text-align: right;
  background-color: white;
}

main {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(14, 1fr);
  grid-auto-flow: row;
  grid-template-areas:
    "c c c c c c c c c . s s s s";
  padding: 2px;
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 60px;
}

main.full {
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 0px;
  grid-template-areas:
    "c";
}
main.actn-mod-form,
main.shop { margin-top: 60px; }
main.checkout { margin-top: 0; }
footer {
  position: relative;
  font-size: 1em;
  margin-top: 60px;
  padding-bottom: 100px;
/*
  margin-top: 40px;
  padding: 50px 0 60px 0;
  background-color: var(--ehr-blue5);
  background-image: none;
  background-position: center right;
  background-repeat: no-repeat;
  background-size: 100% auto;

  color: var(--ehr-blue4);
  border-top: 4px solid var(--ehr-blue2);
*/
}

footer ul.nav a { color: var(--ehr-blue4); }

footer ul.nav a:hover,
footer ul.nav li.current a,
footer a:hover,
footer li.current a { color: var(--ehr-cyan); }

#lastrow a { color: var(--ehr-blue4); }
#lastrow a:hover { color: var(--ehr-cyan); }

@media (max-width: 1380px) { main { width: 92%; } }
@media (max-width: 640px) { main, #below-content, #above-content { width: 86%; } }


#second-lastrow-wrapper {
  display: block;
  padding: 45px 40px 45px 40px;
  background-color: var(--ehr-blue5);
  color: var(--ehr-blue4);
  border-radius: .5rem;
}

#lastrow-wrapper {
  display: block;
  padding: 35px 20px 45px 20px;
  background-color: var(--ehr-blue5);
  color: var(--ehr-blue4);
  border-radius: .5rem;
}

#lang-social-wrapper {
  display: block;
  position: relative;
  padding: 60px 0 0 0;
  margin: 60px 0 0 0;
  border-top: 1px solid #555;
}

#below-content {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 50px;
}
@media(max-width: 640px) { #below-content { padding: 0; } }


#content {
  grid-area: c;
  width: 100%;
}
main.max1050px,
#content .blog.max1050px,
#content .item-page.max1050px {
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
}
main.max1000px,
#content .blog.max1000px,
#content .item-page.max1000px {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
main.max950px,
#content .blog.max950px,
#content .item-page.max950px {
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
main.max900px,
#content .blog.max900px,
#content .item-page.max900px {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
main.max850px,
#content .blog.max850px,
#content .item-page.max850px {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
main.max800px,
#content .blog.max800px,
#content .item-page.max800px {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
main.max750px,
.max750px #content .j2store,
#content .blog.max750px,
#content .item-page.max750px {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
main.max700px,
.max700px #content .j2store,
#content .blog.max700px,
#content .item-page.max700px {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.max650px #content .j2store,
#content .blog.max650px,
#content .item-page.max650px {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max600px,
#content .item-page.max600px {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max550px,
#content .item-page.max550px {
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max500px,
#content .item-page.max500px {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
#content .blog.max4500px,
#content .item-page.max450px {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

#content .item-page.single-article h2,
#content .item-page.single-article h3 {
  margin-top: 60px;
}

#content .item-page.w650px h1,
#content .item-page.w650px h2,
#content .item-page.w650px h3,
#content .item-page.w650px h4,
#content .item-page.w650px p,
#content .item-page.w650px ul,
#content .item-page.w650px ol {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

#content .faq,
#content .item-page.w700px h1,
#content .item-page.w700px h2,
#content .item-page.w700px h3,
#content .item-page.w700px h4,
#content .item-page.w700px p,
#content .item-page.w700px ul,
#content .item-page.w700px ol {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

#content .item-page.w700px ul,
#content .item-page.w700px ol,
#content .item-page.w650px ul,
#content .item-page.w650px ol {
  padding-left: 12px;
}

#content h1.full-width,
#content h2.full-width,
#content h3.full-width,
#content h4.full-width,
#content p.full-width {
  width: 100% !important;
  max-width: 100% !important;
}

/** ICON LIST **/
#content ul.icon-list {
  padding: 35px !important;
  border: 4px solid #EEE;

  margin-top: 80px;
  margin-bottom: 90px;
  position: relative;
}
#content ul.icon-list li {
  list-style-type: none;
  margin-bottom: 40px;
  position: relative;
  height: 110px;
}
#content ul.icon-list li:last-of-type { margin-bottom:0; }
#content ul.icon-list li:before {
  content: '';
  position: absolute;
  top: 5px;
  left: 0;
  display: block;
  background-color: var(--ehr-blue);
  background-repeat: no-repeat;
  background-size: 55px 55px;
  background-position: center center;

  width: 105px;
  height: 105px;
  border-radius: 50%;
  overflow: hidden;
}
#content ul.icon-list li.performance:before { background-image: url(../images/icon-list_rocket.svg); }
#content ul.icon-list li.transparenz:before { background-image: url(../images/icon-list_certificate.svg); }
#content ul.icon-list li.einstieg:before { background-image: url(../images/icon-list_door.svg); }
#content ul.icon-list li.ki:before { background-image: url(../images/icon-list_ki.svg); }
#content ul.icon-list li.robot:before { background-image: url(../images/icon-list_robot.svg); }
#content ul.icon-list li.speed:before { background-image: url(../images/icon-list_speed.svg); }
#content ul.icon-list li.check:before { background-image: url(../images/icon-list_check.svg); }
#content ul.icon-list li span.icon-list-title {
  display: inline-block;
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 40px;
}
#content ul.icon-list li span.icon-list-desc {
  display: block;
  margin-top: 20px;
  font-size: .85em;
}
#content ul.icon-list li span.icon-list-title,
#content ul.icon-list li span.icon-list-desc {
  padding-left: 135px;
}

@media (max-width: 640px) {
#content ul.icon-list {
  margin-top: 60px;
  margin-bottom: 80px;
}
#content ul.icon-list li {
  height: auto;
  display: block;
  margin-bottom: 50px;
}
#content ul.icon-list li:before {
  position: relative;
  top:0;
  margin-left: auto;
  margin-right: auto;
}
#content ul.icon-list li span.icon-list-title,
#content ul.icon-list li span.icon-list-desc {
  padding-left: 0;
  display: block;
  text-align: center;
}
#content ul.icon-list li span.icon-list-title { margin-top: 25px; }
}


#sidebar {
  grid-area: s;
  width: 100%;
}

#lastrow-wrapper {
  margin-top: 60px;
  text-align: center;
}

#disclaimer-footer {
  background-color: #333;
  color: #AAA;
  font-size: .75em;
  line-height: 1.25em;
  margin: 0;
  padding: 20px 35px;
}

footer .pagebreak { display: inline-block; width: 14px; }
footer .spacer.small,
footer .spacer { display: block; height: 16px; }
footer .spacer.first { height: 60px; }
footer .spacer.big { height: 45px; }

@media (max-width: 640px) {
footer .pagebreak { display: block; width: 100%; height: 14px; }
footer .spacer.first { height: 10px; }
footer .spacer.big,
footer .spacer { display: block; height: 40px; }
footer .spacer.small { display: block; height: 16px; }
}


div[itemprop="blogPost"] { margin-bottom: 105px; }
.blog.home div[itemprop="blogPost"] { margin-bottom: 0; }

.service-kits .items-row div[itemprop="blogPost"] {
  padding-top: 60px;
  border-top: 28px solid rgba(0,0,0,0.05);
}
.service-kits .items-row.row-0 div[itemprop="blogPost"] { padding-top: 0px; border: 0px; }


/* PZ ROF WRAPPER */
#pzrof-wrapper {
  margin: 60px auto 0 auto;
}

#pzrof-wrapper .pzrof-wrapper-img {
  display: inline-block;
  width: 45%;
  text-align: right;
  vertical-align: text-top;
}

#pzrof-wrapper .pzrof-wrapper-img img {
  max-width: 110px;
}

#pzrof-wrapper .pzrof-wrapper-text {
  display: inline-block;
  width: 45%; text-align: left;
  vertical-align: text-top;
  padding-left: 35px;
  padding-top: 20px;
  font-weight: 500;
}

@media (max-width: 480px) {
#pzrof-wrapper .pzrof-wrapper-img {
  width: 35%;
}
#pzrof-wrapper .pzrof-wrapper-img img {
  padding: 10px;
}
#pzrof-wrapper .pzrof-wrapper-text {
  width: 60%;
  padding-left: 25px;
  padding-top: 25px;
  font-size: 85%;
}
}



/* NAVs */
.collapsible-menu label,
input#menu-main,
input#menu-subnav {
  display: none;
}
.collapsible-menu label { margin: 0 !important; }

nav ul ul,
nav ul ul ul { display: none; }

nav ul {
  display: block;
}

nav ul li { display: inline-block; position: relative; padding-bottom: 10px; }

nav ul li a {
  display: inline-block;
  position: relative;
  height: 50px;
  line-height: 50px;
  padding: 0 24px;
  padding-bottom: 12px;
  color: var(--ehr-gray);
  font-weight: 700;
  font-size: 1.2em;
  background-color: transparent;

  transition: all .3s;
}

nav:hover ul li a {
/*  color: #BBB; */
}

nav ul ul li a {
  font-size: .95em;
  font-weight: 600;
  color: white;
}


#subnav {
  line-height: 45px;
  text-align: center;
  border: 2px solid rgba(0,0,0,.1);

  width: 90%;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 30px;


  display: none;
}

#subnav ul {
  line-height: 37px;
  padding-top: 10px;
  padding-bottom: 20px;
}

#subnav ul ul {
  font-size: .85em;
}

#subnav ul li {
  display: block;
}

#subnav ul li a { display: block; }

#subnav ul li.active.parent > a,
#subnav ul li.current.active > a {
  display: inline;
  padding: 0;
  border-bottom: 2px solid rgba(0,0,0,.2);
}

#subnav ul.nav {
  /* border-top: 1px solid #DDD; */
  background-color: rgba(0,0,0,0.1);
  padding-top: 10px;
  padding-bottom: 10px;
}


@media (max-width: 1100px) {
nav ul li a:after {
  content: '';
  display: block;
  height: 3px;
  background: rgb(0,0,0);
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.06) 65%);
  margin-top: -11px;
  transition: all .3s ease;

  position: absolute;
  width: 85%;
  max-width: 550px;
  position: absolute;
  right: 25px;
  bottom: -3px;
}
}


@media (min-width: 1101px) {
nav ul li.parent > a:before {
  content: '';
  display: inline-block;
  position: absolute;
  right: 0;
  top: 17px;
  width: 15px;
  height: 15px;
  background: url(../images/navicon-chev-down.svg) center center no-repeat;

  transition: all .3s ease;
}
nav ul li.parent:hover > a:before {
  top: 19px;
}
nav ul ul li.parent > a:before,
nav ul ul ul li.parent > a:before { display: none; }

nav ul li.parent > a { margin-right: 10px; }
nav ul ul li.parent > a, nav ul ul ul li.parent > a { margin-right: 0; }
}

@media (min-width: 1101px) {
nav ul li a:after {
  content: '';
  display: block;
  height: 0;
  border-top: 3px solid var(--ehr-cyan);
  margin-top: -11px;
  transition: all .3s ease;
}
nav ul li a:after { opacity: 0; margin-top: -16px; }
nav ul li:hover a:after { opacity: 1; margin-top: -11px; }
}

@media (min-width: 1101px) {
nav ul li.active a:after {
  content: '';
  display: block;
  height: 0;
  border-top: 3px solid var(--ehr-cyan);
  margin-top: -11px;
  opacity: 1;
}

header .nav-wrapper.fixed ul li a:after,
header .nav-wrapper.fixed ul li.active a:after { border-color: var(--ehr-cyan); }


nav ul ul li.parent > a::after {
  position: relative;
  display: inline-block;
  content: '';
  width: 15px;
  height: 15px;
  background: url(../images/navicon-chev-right.svg) center center no-repeat;
  top: 1px;
  margin-left: 15px;

  transition: all .2s ease;
}
nav ul ul li.parent > a::after { background-image: url(../images/navicon-chev-right.svg); }
nav ul ul li.parent:hover a::after { margin-left: 18px; }

nav ul li.parent:hover > ul {
  display: block;
  position: absolute;
  min-width: 315px;
  margin-top: 10px;

  padding-top: 20px;
  padding-bottom: 35px;
  z-index: 999;
}
nav ul ul li.parent:hover > ul {
  min-width: 235px;
  margin-top: -70px;
  margin-left: calc(316px - 25px);
}

nav ul li:hover ul li a,
nav ul li:hover ul li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  height: 50px;
  line-height: 50px;
  color: var(--ehr-blue2);
  font-weight: 700;
}
nav ul li:hover ul li {
  padding-left: 25px;
}

nav ul li.active a,
nav ul li:hover a {
  color: var(--ehr-gray);
}

nav ul ul li.active > a,
nav ul ul li > a:hover { text-decoration: underline; }
nav ul ul,
nav ul ul ul { background-color: var(--ehr-gray); border-radius: .25rem; opacity: 1; }

nav ul ul li a:after { border: none !important; }
header .nav-wrapper.fixed ul li a { color: var(--ehr-blue); }
header .nav-wrapper.fixed ul li:hover ul li a,
nav ul li:hover ul li a { color: white; }

}


@media (max-width: 1100px) {
header { }
nav { height: auto; }

nav label {
  height: 50px;
  line-height: 50px;
}

nav ul li,
nav ul li a,
nav ul ul {
  display: block;
  text-align: right;
  padding: 0;
}

nav ul li a {
  height: 55px;
  line-height: 55px;
  padding-right: 62px;
}

#subnav {
  display: block;
}

.collapsible-menu label {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    padding: 15px 30px 15px 30px;
    background: var(--ehr-cyan);
    border-radius: .5rem;
}

.collapsible-menu.menu-main label span {
  height: 3px;
  width: 26px;
  background: white;
  display: block;
  margin: 0 auto;
  transition: all .2s ease;
}
.collapsible-menu.menu-main label span:nth-child(2) {
  margin-top: 5px;
  margin-bottom: 5px;
}
.collapsible-menu.menu-main label:hover span:nth-child(2) {
/*  margin-left: -8px; */
}
input#menu-main:checked ~ label span:nth-child(1) {
  transform: translate(0px,8px)rotate(45deg);
}
input#menu-main:checked ~ label span:nth-child(2) {
  opacity: 0;
}
input#menu-main:checked ~ label span:nth-child(3) {
  transform: translate(0px,-8px)rotate(-45deg);
}

.menu-content {
  position: absolute;
  padding: 0;
  height: 0;
  overflow: hidden;
  left: 20px;
  top: 162px;
  width: calc(100% - 40px);
  background: var(--ehr-blue5);
  z-index: 4;

  transition: all .2s cubic-bezier(0.52, 0.16, 0.24, 1);
}

input#menu-main:checked ~ .menu-content,
input#menu-subnav:checked ~ .menu-content {
  z-index: 4;
  height: calc(100% - 162px);
}

nav ul:nth-child(1) {
  margin-top: 25px;
  margin-bottom: 125px;
}

nav ul ul { margin-bottom: 20px; }

nav ul ul li a {
  height: 40px;
  line-height: 40px;
  color: #999;
}
nav ul li a:hover,
nav ul ul li a:hover,
nav ul ul li.active a,
nav ul li.active > a { color: var(--ehr-cyan); }
}
/* END */

@media (max-width: 767px) {
.menu-content {
  top: 114px;
}
input#menu-main:checked ~ .menu-content,
input#menu-subnav:checked ~ .menu-content {
  height: calc(100% - 114px);
}
}

@media (max-width: 480px) {
nav ul:nth-child(1) {
  margin-top: 65px;
  margin-bottom: 125px;
}
}

/* SIDEBAR */
#sidebar {
  font-size: .9em;
}

#sidebar > div {
  border-bottom: 10px solid rgba(0,0,0,.05);
  margin-bottom: 35px;
  padding: 0px 30px 30px 0;
}

#sidebar > div:last-child { border-bottom: none; }

#sidebar h3 {
  font-size: 1.5em;
  color: var(--ehr-gray);
  margin-top: 0;
}

#sidebar .moduletable.menu ul {  }
#sidebar .moduletable.menu li { margin-bottom: 11px; }
#sidebar .moduletable.menu li a { font-size: 1.05em; }


#below-content div.moduletable h3 { margin-top: 0; }



/* SERVICE */
#content #maschinen-auswahl-wrapper.service p.link {
  margin: 33px 0 58px 0;
}

#content #maschinen-auswahl-wrapper.service p.image {
  margin: 0;
  line-height: 0;
  border-radius: .5rem;
  overflow: hidden;
  padding: 0;
}


/* CLAIM */
#claim-wrapper {
  max-width: 750px;
  margin: 120px auto 120px auto;
}
#claim-wrapper.buttons {
  margin-bottom: 20px;
}


#content h3.claim {
  font-size: 2.45em;
  line-height: 1.25em;
  margin: 0 0 40px 0;
  position: relative;
  text-align: center;
  font-weight: 400;
  font-style: italic;
}

#content h3.claim.gray { color: var(--ehr-gray); }
#content h3.claim.blue { color: var(--ehr-blue); }

@media(max-width: 768px) {
#content h3.claim {
  font-size: 1.95em;
  line-height: 1.35em;
  margin: 0 0 40px 0;
}
}

@media(max-width: 640px) {
#content h3.claim {
  font-size: 1.55em;
  line-height: 1.45em;
  margin: 0 0 40px 0;
}
}


#below-content  {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  margin-top: 90px;
}

#below-content div.moduletable {
  position: relative;
  width: calc(20% - 21px);
  align-self: stretch;

  margin-top: 0px;
  padding: 22px 30px 60px 30px;
  background: rgba(0,0,0,0.05);
  border-radius: .5rem;

  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  margin: 0 20px 20px 0;
}

#below-content div.moduletable h3 {
  color: var(---ehr-gray);
  margin-bottom: 25px;
  line-height: 1.4em;
}

#below-content div.moduletable p {
  font-size: 95%;
  line-height: 1.45em;
}

#below-content div.moduletable p:last-of-type {
  position: absolute;
  bottom: 0;
  left: 30px;
  margin-bottom: 30px;
}

#below-content div.moduletable p.image {
  margin: 0 0 15px 0;
  line-height: 0;
}

@media (max-width: 1024px) {
#below-content div.moduletable {
  width: calc(33% - 21px);
  padding-left: 22px;
  padding-right: 22px;
}
}
@media (max-width: 768px) {
#below-content div.moduletable {
  width: calc(33% - 21px);
  padding-left: 30px;
  padding-right: 30px;
}
}
@media (max-width: 640px) {
#below-content div.moduletable {
  width: calc(50% - 21px);
}
}
@media (max-width: 480px) {
#below-content div.moduletable {
  width: calc(100% - 1px);
  margin-right: 0;
}
}



#content p a.no-shadow,
#content p a.no-shadow:hover,
#sidebar p a.none:hover,
#below-content p a.none:hover,
.blog.home p a.none:hover,
#sidebar p a.none,
#below-content p a.none,
.blog.home p a.none,
p.cart-no-items-image a.none { box-shadow: none !important; background: none !important; }


ul.latestnews span[itemprop="introtext"] { display: none; }

#below-content ul.latestnews li:nth-child(1) span[itemprop="introtext"],
#content .blog ul.latestnews li:nth-child(1) span[itemprop="introtext"] { }

#below-content ul.latestnews span[itemprop="introtext"] p:nth-child(1),
#content .home ul.latestnews span[itemprop="introtext"] p:nth-child(1) { margin-top: 10px; }

#below-content ul.latestnews span[itemprop="introtext"] p,
#content .home ul.latestnews span[itemprop="introtext"] p { display: inline-block; margin: 0; font-size: .85em; color: #888; text-decoration: none; }

#below-content ul.latestnews a:hover span[itemprop="introtext"] p,
#content .home ul.latestnews a:hover span[itemprop="introtext"] p { color: var(--ehr-gray); }

#content .blog.news .item-image a { display: block; margin: 0; padding: 0; box-shadow: none; }


dl.article-info {
  display: block;
  color: #999;
  margin-bottom: 25px;
  font-size: .9em;
}

dl.article-info a {
  color: #999;
  text-decoration: underline;
}

dl.article-info a:hover {
  color: #FFF;
  text-decoration: underline;
}

dl.article-info dd {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 5px;
  padding: 6px 12px;
  padding: 0px;
  border: 0px solid rgba(2,0,0,0.1);
}

dt.article-info-term {
  display: none;
}

@media (max-width: 640px) {
#content .item-page.news h2 { font-size: 1.75em; }
#content .item-page.news div[itemprop="articleBody"] { font-size: 1em; }
dl.article-info dd { }
}

.blog.news dl.article-info dd {
  padding: 0;
  border: 0px;
}

.item-page.aktuelles h1 {
  font-size: 3em;
  text-align: center;
  line-height: 1.25em;
  max-width: 980px;
  margin: 0 auto;
  margin-top: 15px;
  margin-bottom: 35px;
}

.aktuelles .blog h1,
.aktuelles .blog h2,
.aktuelles .blog h3,
.aktuelles .blog h4,
.item-page.aktuelles h1,
.item-page.aktuelles h2,
.item-page.aktuelles h3,
.item-page.aktuelles h4 {
  color: var(--egr-gray);
  font-weight: 700;
}

.item-page.aktuelles h3 {
  font-size: 1.85em;
  line-height: 1.25em;
}

.item-page.aktuelles h4 {
  margin-top: 45px;
  margin-bottom: 20px;
}

.aktuelles .blog h3,
.aktuelles .blog h4 {
  font-size: 110%;
  margin-bottom: 23px;
}

.item-page.aktuelles dl.article-info {
  text-align: center;
}

figcaption.caption {
  font-size: .95em;
  line-height: 1.45em;
  color: #999;
  padding: 10px 25px 15px 4px;
  margin-top: 0;
  margin-bottom: 30px;
}

.view-article figcaption.caption {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 840px;
}

#content p.img {
  line-height: 0;
  margin-top: 50px;
  margin-bottom: 0;
}

#content p.imgcaption {
  font-size: .95em;
  line-height: 1.45em;
  color: #999;
  padding: 10px 25px 15px 4px;
  margin-top: 5px;
  margin-bottom: 45px;
}

.item-page.aktuelles div[itemprop="articleBody"] {
  display: block;
  position: relative;
  margin-top: 60px;
  margin-bottom: 60px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

.item-page.aktuelles div[itemprop="articleBody"]::before {
  content: '';
  display: inline-block;
  width: 35px;
  height: 350px;
  position: absolute;
  left: -75px;
  top: 0;
  background-color: var(--ehr-blue5);
}


@media (max-width: 768px) {
.item-page.aktuelles h1 {
  font-size: 2.5em;
  line-height: 1.2em;
}
.item-page.aktuelles h3 {
  font-size: 1.55em;
  line-height: 1.35em;
}
.item-page.aktuelles div[itemprop="articleBody"]::before { display: none; }
}
@media (max-width: 480px) {
.item-page.aktuelles h1 {
  font-size: 1.95em;
  line-height: 1.2em;
}
.item-page.aktuelles h3 {
  font-size: 1.35em;
  line-height: 1.35em;
}
}


#content .content-links {
/*  display: inline-block;
  align-self: flex-start;
  width: 30%;
  max-width: 475px;
  padding: 0;
  margin-top: 10px;
  margin-left: 4.5%; */

  display: block;
  position: relative;
  margin-top: 60px;
  margin-bottom: 30px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
#content .content-links,
.item-page.aktuelles div[itemprop="articleBody"] { max-width: 640px; }
}

#content .content-links:before {
  content: 'Links';
  position: relative;
  display: block;
  border-top:8px solid rgba(255,255,255,.2);
  padding: 15px 0 15px 2px;
  font-size: 1.5em;
  font-weight: 600;
  text-transform: uppercase;
}

#content .content-links ul {
  margin: 0;
  padding: 20px 0 15px 0;
  border-bottom: 0px solid rgba(2,0,0,0.1);
}

#content .content-links li,
#content .content-links li:hover {
  list-style-type: none;
}

#content .content-links li {
  padding: 0;
  padding-left: 2px;
  margin-bottom: 16px;
}

#content .content-links a {
}

#sidebar .moduletable.single-image {
  padding: 0 !important;
  position: relative;
  border: none !important;
}
#sidebar .moduletable.single-image h3 {
}
#sidebar .moduletable.single-image .custom.single-image {
  background-position: right 0px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  height: 100%;
  min-height: 1px;
  margin: 0;
  padding: 0;
}

#sidebar .moduletable.single-image p {
  margin: 0;
  line-height: .8em;
}

#sidebar .moduletable.single-image img {  }

#sidebar .mod-custom ul li {
  margin-bottom: 12px;
}

/* MOD LATEST NEWS */
#sidebar ul li span.articledate {
  display: block;
  color: #999;
  margin-bottom: 2px;
}

#sidebar span.mod-articledate,
footer span.mod-articledate { margin-bottom: 4px; }
#sidebar ul.latestnews { margin-bottom: 25px; }

#below-content ul.latestnews li,
footer ul.latestnews li,
#content .blog.loesungen ul.latestnews li,
#content .blog.home ul.latestnews li,
#sidebar ul.latestnews li {
  padding-bottom: 15px;
  margin-bottom: 12px;
  border-bottom: 0px solid rgba(255,255,255,.12);
 }

#sidebar ul.latestnews li { line-height: 1.5em; }

footer ul.latestnews li {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
  line-height: 1.5em;
}

#below-content ul.latestnews li:last-child,
#content .blog.loesungen ul.latestnews li:last-child,
#content .blog.home ul.latestnews li:last-child,
#sidebar ul.latestnews li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

#below-content ul.latestnews li a:hover,
#content .blog.loesungen ul.latestnews li a:hover,
#content .blog.home ul.latestnews li a:hover,
#sidebar ul.latestnews li a:hover { /* text-decoration: underline; */ }

span.mod-articledate {
  display: block;
  font-size: .92em;
  color: rgba(255,255,255,0.55);
}

ul.latestnews img { display: none; }
/* .blog.home ul.latestnews li:nth-child(1) img, */

#below-content ul.latestnews li:nth-child(1) img,
#sidebar ul.latestnews li:nth-child(1) img { /* display: block; margin: 3px 0; */ }


/* PAGENAV */
/* PAGINATION */
#content .pagination { margin-top: 60px; margin-bottom: 60px; }
#content ul.pagenav {
  display: block;
  text-align: right;
  margin: 0;
}
#content .pagination ul { text-align: center; }

ul.pagenav {
  margin-top: 40px;
}

ul.pagenav li,
.pagination li {
  display: inline-block;
}

ul.pagenav li a,
.pagination li span,
.pagination a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 40px;
  border: 2px solid;
}

.pagination li span,
.pagination a { line-height: 48px; }

ul.pagenav li a {
  width: auto;
  padding: 0 25px;
  cursor: pointer;
}

.pagination li span {
  border-color: var(--ehr-blue);
  color: #000;
  background-color: var(--ehr-blue);
  cursor: default;
}

.pagination li a {
  border-color: rgba(255,255,255,.2);
  color: #FFF;
  background-color: none;
}

ul.pagenav li a {
  border-color: var(--ehr-cyan);
  color: var(--ehr-cyan);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  line-height: 75px;
  padding: 0;
  margin: 0;
  background-color: white;
}

.pagination li { font-size: 1.15em; }
ul.pagenav li a { font-size: 2.25em; }

ul.pagenav li a:hover,
.pagination li a:hover {
  border-color: var(--ehr-cyan);
  color: #FFF;
  background-color: var(--ehr-cyan);
}

ul.pagenav li span.icon-chevron-right,
ul.pagenav li span.icon-chevron-left,
ul.pagenav li span.visually-hidden,
li.pagination-start,
li.pagination-prev,
li.pagination-next,
li.pagination-end {
  display: none;
}


/* BREADCRUMBS */
#breadcrumbs {
  display: block;
  font-size: .8em;
  line-height: 2.2em;
  padding: 0 50px;
  width: 100%; /* calc(100% - 50px); */
  max-width: 1480px;
  margin: 0 auto;
  margin-top: 65px;
  margin-bottom: 20px;
  color: var(--ehr-gray);
  font-weight: 500;
}
@media(max-width: 640px) { #breadcrumbs { width: 86%; padding: 0; } }

#breadcrumbs a {
  color: #999;
  margin: 0;
  padding: 0;
}

#breadcrumbs a:hover {
  color: var(--ehr-cyan);
  text-decoration: none;
}


#breadcrumbs ol li,
#breadcrumbs ul li { display: inline-block; margin: 0; padding: 0; }
#breadcrumbs ol li.active,
#breadcrumbs ul li.active { display: inline; }
#breadcrumbs .divider img { width: auto; max-width: auto; /* display: none; */ }
#breadcrumbs .divider { margin: 0 10px; }
#breadcrumbs li.active:nth-child(1),
#breadcrumbs .divider.icon-location { display: none; }

#breadcrumbs li.float-start { display: none; }

#breadcrumbs ul li::after {
  content: '→';
  display: inline-block;
  position: relative;
  margin: 0 10px;
  color: #999;
}
#breadcrumbs ul li:last-of-type::after { display: none; }


@media (max-width: 768px) {
main {
  display: grid;
  grid-gap: 0px;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-flow: row;
  grid-template-areas:
    "c"
    "s";
}
#sidebar { display: none; }

#content { max-width: 600px; margin-left: auto; margin-right: auto; }
}


footer h3 { font-size: 1.25em; font-weight: 600; padding: 0 0 30px 0; margin: 0; color: var(--ehr-blue4); }
#position-2, #position-3, #position-4, #position-5, #position-6 { display: inline-block; vertical-align: top; }
#sitemap, #position-3, #position-4, #position-5, #position-6 { text-align: left; }

#position-2 { width: 16%; margin-right: 3%; }
#position-3 { width: 19%; margin-right: 6%; }
#position-4 { width: 26%; margin-right: 3%; }
#position-5 { width: 19%; margin-right: 3%; }
#position-6 { width: 18%; }

@media (max-width: 1024px) {
#position-2 { width: 19%; margin-right: 3%; }
#position-3 { width: 27%; margin-right: 3%; }
#position-4 { width: 32%; margin-right: 3%; }
#position-5 { width: 25%; margin-right: 3%; }
#position-6 { width: 23%; }
}

@media (max-width: 768px) {
#position-2 { width: 20%; margin-right: 5%; }
#position-3 { width: 28%; margin-right: 5%; }
#position-4 { width: 37%; margin-right: 0%; }
}

@media (min-width: 1680px) {
#position-2 { width: 14%; margin-right: 3%; }
#position-3 { width: 19%; margin-right: 6%; }
#position-4 { width: 26%; margin-right: 3%; }
#position-5 { width: 16%; margin-right: 2%; }
#position-6 { width: 15%; }
}


#position-1 { display: block; }
#position-1 ul { display: block; }
#position-1 li { display: inline-block; }
#position-1 li:nth-of-type(1) { margin-right: 20px; }
#position-1 li:nth-of-type(1),
#position-1 li:nth-of-type(2) { font-size: 1.65em; font-weight: 600; }
#position-1 li:nth-of-type(3) { display: block; margin-top: 8px; }
#position-1 li:nth-of-type(3) a { color: #999; }

#position-2 li,
#position-3 li,
#position-4 li,
#position-5 li,
#position-6 li { margin-bottom: 14px; }


#socialmedia.bottom {
/*  display: inline-block;
  position: absolute;
  right: 0px;
  top: 42px; */
  display: block;
  margin-bottom: 40px;
}



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

#position-1 li { display: block; margin-right: 0; }
#position-1 li:nth-of-type(3) { display: none; }
#position-1, #position-2, #position-3, #position-4, #position-5, #position-6 { margin-bottom: 40px; }

#position-1 { display: none !important; }

#position-2 li,
#position-3 li,
#position-4 li,
#position-5 li,
#position-6 li { margin-bottom: 11px; }

#socialmedia.bottom { right: 0; top: 0; }
#lang-social-wrapper {
  padding: 45px 0 0 0;
}
footer #lang-switch {
  margin-top: 35px;
}
footer #lang-switch ul {
  text-align: center;
}
}

@media (min-width: 768px) and (max-width: 1023px) {
/* #position-2 { display: none; } */
}


#socialmedia.bottom ul {
  margin: 0 0 0 0;
  text-align: center;
  padding: 0;
}

#socialmedia.bottom li {
  display: inline-block;
  margin: 0 3px;
  padding: 0;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  background: var(--ehr-blue4);
}

#socialmedia.top ul {
  display: inline-block;
  margin: 8px 0 0 0;
  padding: 0;
}

#socialmedia.top li {
  display: inline-block;
  margin: 0 0 0 2px;
  width: 28px;
  height: 28px;
}

.bottom .facebook a.icon,
.bottom .twitter a.icon,
.bottom .instagram a.icon,
.bottom .youtube a.icon,
.bottom .mail a.icon {
  display: inline-block;
  width: 55px;
  height: 55px;
  background-size: 40px 40px;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-radius: 50%;
}

.top .facebook a.icon,
.top .twitter a.icon,
.top .instagram a.icon,
.top .youtube a.icon,
.top .mail a.icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-size: 28px 28px;
  background-position: center center;
  background-repeat: no-repeat;
}

#socialmedia.bottom li.facebook:hover { background: #3b60a9; }
#socialmedia.bottom li.twitter:hover { background: #1b9bed; }
#socialmedia.bottom li.instagram:hover {
  background: #edb44b; /* Old browsers */
  background: -moz-linear-gradient(45deg, #edb44b 0%, #f2833e 30%, #da475b 46%, #b43983 69%, #5466aa 86%, #5466aa 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(45deg, #edb44b 0%,#f2833e 30%,#da475b 46%,#b43983 69%,#5466aa 86%,#5466aa 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edb44b', endColorstr='#5466aa',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
#socialmedia.bottom li.youtube:hover { background: #fd0010; }
#socialmedia.bottom li.mail:hover { background: var(--ehr-cyan); }

.top .facebook .icon { background-image: url(../images/facebook.svg); }
.facebook .icon { background-image: url(../images/facebook_light.svg); }
.bottom .facebook:hover .icon { background-image: url(../images/facebook_light.svg); }

.twitter .icon { background-image: url(../images/twitter_light.svg); }
.top .twitter .icon,
.bottom .twitter:hover .icon { background-image: url(../images/twitter_light.svg); }

.top .instagram .icon { background-image: url(../images/instagram.svg); }
.instagram .icon { background-image: url(../images/instagram_light.svg); }
.bottom .instagram:hover .icon { background-image: url(../images/instagram_light.svg); }

.top .youtube .icon { background-image: url(../images/youtube.svg); }
.youtube .icon { background-image: url(../images/youtube_light.svg); }
.bottom .youtube:hover .icon { background-image: url(../images/youtube_light.svg); }

.top .mail .icon { background-image: url(../images/mail.svg); }
.mail .icon { background-image: url(../images/mail_light.svg); }
.bottom .mail:hover .icon { background-image: url(../images/mail_light.svg); }


@media (max-width: 480px) {
#socialmedia.bottom li {
  margin: 0 2px;
  width: 50px;
  height: 50px;
}
.bottom .facebook a.icon,
.bottom .twitter a.icon,
.bottom .instagram a.icon,
.bottom .youtube a.icon,
.bottom .mail a.icon {
  width: 50px;
  height: 50px;
  background-size: 38px 38px;
}
}





.responsive-video-wrapper {
  padding: 45px 90px 90px 90px;
  background: var(--ehr-gray);
  border-radius: .25rem;
}

.videos-page .responsive-video-wrapper {
  padding: 35px 70px 70px 70px;
  margin-bottom: 70px;
}

.responsive-video {
    position: relative;
    padding-bottom: 56%;
    padding-top: 0px;
    height: 0;
    overflow: hidden;
}

.responsive-video iframe, .responsive-video object, .responsive-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#content .responsive-video-wrapper h2,
#content .responsive-video-wrapper p { color: white; margin: 0; padding: 0; text-align: center; }
#content .responsive-video-wrapper h2 { font-size: 2.1em; margin-bottom: 20px; }
#content .responsive-video-wrapper p { margin-bottom: 70px; }

@media (max-width: 768px) {
.videos-page .responsive-video-wrapper,
.responsive-video-wrapper { padding: 25px 0 0 0; }
#content .responsive-video-wrapper h2 { font-size: 2.1em; margin-bottom: 15px; }
#content .responsive-video-wrapper p { padding: 0 25px; margin-bottom: 35px; }
}

span.video-playlist-link-wrapper {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0 0 70px 0;
}

span.video-playlist-link-wrapper a {
  display: inline-block;
  line-height: 1em;
  color: white;
  font-weight: 600;
  font-size: 92.5%;
  padding: 10px 21px 12px 21px;
  border: 2px solid white;
  border-radius: 2rem;
  margin: 0 6px;
  background: white;
  color: var(--ehr-gray);
  transition: all .3s;
}

span.video-playlist-link-wrapper a:hover {
  border-color: white;
  background: transparent;
  color: white;
}

span.video-playlist-link-wrapper a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}




/* CONTENT SLIDER */
#content p.loadmodule { height: 0; margin: 0; }
#content .flexslider ul li { padding: 0; margin: 0; list-style-type: none; }



#content p.actn-btn {
  margin-top: 70px;
}

#content p.actn-btn a {
  position: relative;
  padding: 12px 36px;
  border: 3px solid var(--ehr-blue);
  font-weight: 700;
  box-shadow: none;
  background: none;
  z-index: 2;
  border-radius: .25rem;
  cursor: pointer;
  color: var(--ehr-gray);
  transition: all .2s;
}

#content p.actn-btn a:hover {
  color: white;
  background: none;
  box-shadow: none;
}

#content p.actn-btn a::before {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
  z-index: -1;
  background: var(--ehr-blue);
  opacity: 0;
}

#content p.actn-btn a:hover::before {
  width: 100%;
  opacity: 1;
}

#content p.actn-btn a::after {
  content: "→";
  display: inline-block;
  margin-left: 15px;
}

#content p.actn-btn.small { margin-top: 15px; margin-right: 5px; display: inline-block; }
#content p.actn-btn.second { margin-top: 5px; }

#content p.actn-btn.small a {
  font-size: 90.5%;
  border-width: 2px;
  padding: 11px 26px;
}



.usage-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 15px; }
.usage-wrapper { margin: 40px auto 40px auto; width: 100%; max-width: 980px; }

.usage-wrapper .usage-item {
  width: auto;
  min-width: 31%;
  max-width: 31%;

  align-self: stretch;
  margin: 0;
  padding: 10px 20px 30px 20px;
  background: var(--ehr-blue5);
  border: 0px solid var(--ehr-blue5);
  border-radius: .5rem;
  transition: all .3s ease;
}
.usage-wrapper .usage-item:hover {
}

.usage-wrapper .usage-item.align-center { display: flex; }
.usage-wrapper .usage-item .usage-text.align-center { align-self: center; display: inline-block; width: 100%; text-align: center; }

.usage-wrapper .usage-item .icon {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 5px;
}

.usage-wrapper .usage-item .usage-text {
  display: block;
  font-weight: 400;
  padding: 0;
  margin: 0 0 5px 0;
  text-align: center;
  font-size: 125%;
  font-weight: 700;
}

@media (min-width: 641px) and (max-width: 1023px) {
.usage-wrapper .usage-item {
  min-width: 48%;
  max-width: 48%;
}
}

@media (max-width: 640px) {
.usage-wrapper .usage-item {
  min-width: 75%;
  max-width: 75%;
  margin: 0 auto;
}
.usage-wrapper .usage-item .usage-text.align-center {
  margin-top: 20px;
}

}






/* IMPRINT */
span.kuerzel { position: relative; }
span.daten { position: absolute; left: 40px; }
span.daten.hrs { position: absolute; left: 100px; }


@media (max-width: 480px) { span.daten { left: 35px; } span.daten.hrs { left: 90px; } }
@media (max-width: 370px) { span.daten { left: 35px; } span.daten.hrs { left: 90px; } }
@media (max-width: 310px) {
span.daten,
span.daten.hrs {
  position: relative;
  left: auto;
  display: block;
}
}

.introtext-wrapper {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 90px;
}







/* GALERIE */
#content .galerie-wrapper { float: inherit !important; }

@supports (display: grid) {

#content .galerie-wrapper .items p { margin: 0; padding: 0; overflow: hidden; position: relative; display: block; width: 100%; height: 100%; border-radius: .25rem; }
#content .galerie-wrapper .items p.transparent { background: transparent; }
#content .galerie-wrapper .items p img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);

  filter: grayscale(0%);
  transition: all .3s ease;
 }
#content .galerie-wrapper .items p:hover img {
/*   filter: grayscale(100%); */
}
#content .galerie-wrapper .items p:hover {
/*  cursor: help; */
}


.galerie-wrapper .items {
  display: -ms-grid;
  display: grid;
  -ms-grid-gap: 20px;
  grid-gap: 20px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(425px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(425px, 1fr));
  -ms-grid-auto-rows: 320px;
  grid-auto-rows: 320px;
  -ms-grid-auto-flow: dense;
  grid-auto-flow: dense;

}

.galerie-wrapper .items .horiz {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
.galerie-wrapper .items .vert {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.galerie-wrapper .items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 2;
  grid-row: span 2;
}

span.galerie.bildbeschreibung {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 22px;

  padding: 7px 10px 8px 10px;
  background: transparent;
  color: white;

  font-size: .7em;
  font-weight: 600;
  display: inline-block;
  max-width: 85%;
  text-align: left;
  line-height: 1.35em;

  transition: all .3s ease;
  opacity: 0;
}
.galerie-wrapper p:hover span.galerie.bildbeschreibung {
  background: var(--handarbeit-red);
  bottom: 17px;
  opacity: 1;
}

span.galerie.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: 98;
  background: black;
  opacity: 0;
  transition: all .3s ease;
}
.galerie-wrapper p:hover span.galerie.overlay { opacity: .35; }

.galerie-wrapper p:hover { cursor: help; }

}

@media (max-width: 1024px) {
.galerie-wrapper .items {
  -ms-grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  -ms-grid-auto-rows: 170px;
  grid-auto-rows: 170px;
}
}

@media (max-width: 480px) {
.galerie-wrapper .items {
  -ms-grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  -ms-grid-auto-rows: 90px;
  grid-auto-rows: 90px;
  -ms-grid-gap: 10px;
  grid-gap: 10px;
}
.galerie-wrapper .items .horiz {
  -ms-grid-column: span 1;
  grid-column: span 1;
}
.galerie-wrapper .items .vert {
  -ms-grid-column: span 1;
  grid-column: span 1;
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.galerie-wrapper .items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 3;
  grid-row: span 3;
}
}

@media (max-width: 380px) {
.galerie-wrapper .items {
  -ms-grid-auto-rows: 80px;
  grid-auto-rows: 80px;
}
}

@media (max-width: 320px) {
.galerie-wrapper .items {
  -ms-grid-auto-rows: 75px;
  grid-auto-rows: 75px;
}
}

.galerie-wrapper .visible {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}
.galerie-wrapper .hidden {
  visibility: hidden;
  opacity: 0;
  z-index: 1;
}



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

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

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

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

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


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

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

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

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

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

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


}

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





/* */

footer .newsflash figcaption,
footer .newsflash figure.newsflash-image,
footer .newsflash .mod-articlesnews__item h3,
footer .newsflash .mod-articlesnews__item h4,
footer .newsflash .mod-articlesnews__item p {
  display: none;
}
footer .newsflash .mod-articlesnews__item:first-of-type figure.newsflash-image { /* display: block; */ }

footer .newsflash .mod-articlesnews__item h2 {
  font-size: 1em;
  font-weight: 500;
  margin: 0 0 6px 0;
}
footer .newsflash .mod-articlesnews__item h2 a { color: var(--ehr-blue4); }
footer .newsflash .mod-articlesnews__item h2 a:hover { color: var(--ehr-cyan); }

footer dl.article-info {
  color: var(--ehr-blue3);
  font-size: .85em;
  margin-bottom: 14px;
}

body header {
  height: auto;
  height: 35vh;
  min-height: 450px;
  max-height: 500px;
}

body.home header {
  height: 50vh;
  min-height: 685px;
  max-height: 700px;
}

body.aktuelles header {
  height: 20vh;
  min-height: 250px;
  max-height: 255px;
  border-radius: .5rem;
  border-bottom: 12px solid var(--ehr-blue2);
}

header .random-image-cover {
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 2;
  background-position: center center;
  background-size: 103% auto;
  background-repeat: no-repeat;
  background-color: rgba(241,245,250,1);
  border-radius: .5rem;
  border-bottom: 12px solid var(--ehr-blue2);
}

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

@media (max-width: 1100px) {
body.home header,
body header {
    height: auto;
    height: 35vh;
    min-height: 400px;
    max-height: 450px;
}
header .random-image-cover {
  background-position: center center;
  background-size: auto 103%;
}
}

@media (min-width: 768px) and (max-width: 1099px) {
header .random-image-cover {
  background-position: center center;
  background-size: 103% auto;
}
}


@media (max-width: 680px) {
body.home header,
body header {
    height: auto;
    height: 35vh;
    min-height: 375px;
    max-height: 400px;
}

header .random-image-cover {
  background-position: center center;
  background-size: auto 103%;
}
body.home header .random-image-cover {
  background-size: 110% auto;
  background-position: center top;
}
#bg-brand {
  display: none;
}
}



main .custom-newsflash-ehr h3.mod-head-tag { display: none; }

main.view-category.aktuelles {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}

main .mod-articlesnews.newsflash,
body.aktuelles .com-content-category-blog .com-content-category-blog__items.blog-items {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  position: relative;
}

body.aktuelles .com-content-category-blog .com-content-category-blog__items.blog-items .blog-item {
  display: inline-block;
  padding: 0;
  margin: 40px 15px;
  width: calc(50% - 30px);
  vertical-align: text-top;
}

body.aktuelles .com-content-category-blog .com-content-category-blog__items.blog-items.items-leading .blog-item {
  width: 100%;
}

main .mod-articlesnews.newsflash .mod-articlesnews__item {
  display: inline-block;
  padding: 0;
  margin: 13px 13px;
  width: calc(33.33% - 26px);
  vertical-align: text-top;
}

.aktuelles .blog .columns-2 h2,
.home #content .mod-articlesnews.newsflash h2 {
  font-size: 1.65em;
  min-height: 110px;
}
.home #content .mod-articlesnews.newsflash h3 {
  color: var(--ehr-gray);
  margin: 20px 0 25px 0;
  font-size: 1.15em;
  line-height: 1.2em;
  font-style: normal;
  font-weight: 700;
}
.home #content .mod-articlesnews.newsflash p {
  font-size: 95%;
  line-height: 1.55em;
  margin-bottom: 15px;
}
.home #content .mod-articlesnews.newsflash p.readmore {
  margin: 30px 0 0 0;
}
.home #content .mod-articlesnews.newsflash figcaption.caption { display: none; }


@media (max-width: 768px) {
body.aktuelles .com-content-category-blog .com-content-category-blog__items.blog-items .blog-item {
  margin: 40px 0;
  width: 100%;
  border-bottom: 24px solid #EFEFEF;
  padding-bottom: 80px;
}
body.aktuelles .com-content-category-blog .com-content-category-blog__items.blog-items.columns-2 .blog-item:last-child {
  border-bottom: 0px solid #EFEFEF;
  padding-bottom: 0px;
}

.aktuelles .blog h2,
.aktuelles .blog .columns-2 h2 {
  min-height: initial;
}
.layout-blog.aktuelles .blog h2,
.layout-blog.aktuelles .blog .columns-2 h2 {
  margin-bottom: 10px;
}
}

@media (max-width: 1024px) {
main .mod-articlesnews.newsflash .mod-articlesnews__item:nth-child(3) { display: none; }
main .mod-articlesnews.newsflash .mod-articlesnews__item { width: calc(50% - 26px); }
}

@media (max-width: 480px) {
main .mod-articlesnews.newsflash .mod-articlesnews__item:nth-child(2),
main .mod-articlesnews.newsflash .mod-articlesnews__item:nth-child(3) { display: none; }
main .mod-articlesnews.newsflash .mod-articlesnews__item { width: calc(100% - 26px); }
}


/* HOME */

.com-content-category-blog__items.blog-items.columns-2 {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
}
.home .com-content-category-blog__items.blog-items.columns-2 {
  max-width: 1050px;
  margin: 0 auto;
}

.com-content-category-blog__items.blog-items.columns-2 div[itemprop="blogPost"] {
  display: inline-block;
  padding: 0;
  margin: 25px 25px;
  width: calc(50% - 50px);
  vertical-align: text-top;
}





/* REF */

div.ref_wrapper {
  background: transparent;
  border-radius: 2rem;
  padding: 60px 25px 50px 25px;
  margin: 135px auto;
  position: relative;
  max-width: 680px;
  /* border: 12px solid #ECECED;
  background: #ececed; */
  background: var(--ehr-blue5);
}
.item-page div.ref_wrapper { margin: 120px auto; }
.home div.ref_wrapper { margin: 0 auto; }

div.ref_wrapper.inline {
  padding: 60px 35px 50px 35px;
  margin: 0 auto;
}


div.ref_wrapper::before {
/*  content: "\201F";
  position: absolute;
  top: 2px;
  left: 5%;
  font-size: 196px;
  line-height: 112px;
  text-align: center;
  color: #CCC; */
}
div.ref_wrapper::after {
/*  content: "\02EE";
  position: absolute;
  bottom: -96px;
  right: 5%;
  font-size: 196px;
  line-height: 112px;
  text-align: center;
  color: #CCC; */
}
#below-content p.ref_name,
#content p.ref_name {
  text-align: center;
  font-size: 1.5em;
  line-height: 1.25em;
  font-weight: 800;
  color: var(--ehr-gray);
  margin-bottom: 8px;
}
#below-content p.ref_name-details,
#content p.ref_name-details {
  text-align: center;
  font-size: .9em;
  font-weight: 500;
  color: #888;
}
#below-content p.ref_text,
#content p.ref_text {
  text-align: center;
  /* font-style: italic; */
  color: #444;
  font-size: 1.15em;
  line-height: 1.65em;

  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 500px !important;
}
#below-content p.ref_link,
#content p.ref_link {
  text-align: center;
  margin-top: 65px;
}
#content p.ref_link a { color: var(--ehr-gray); font-weight: 600; }
#content p.ref_link a:hover { color: white; }

#below-content p.ref_image,
#content p.ref_image {
  display: block;
/*  width: 145px;
  height: 145px; */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
/*  border: 4px solid white; */
}

#content p.ref_image,
#content p.ref_image.logo {
  margin-bottom: 35px;
}


@media (max-width: 640px) {
div.ref_wrapper {
  padding: 35px 22px 40px 22px;
  margin: 60px 0;
}
#content p.ref_link { margin-top: 60px; }

#below-content p.ref_text,
#content p.ref_text {
  font-size: 1em;
  line-height: 1.65em;
}

}


/* ALL REFS */
.ref_wrapper_all {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  margin-top: 90px;
  margin-bottom: 90px;
  gap: 35px;
}
.ref_wrapper_all p.ref_link { display: none; }

.ref_wrapper_all .ref_item {
  display: inline-block;
  padding: 20px 35px;
  margin: 0;
  width: calc(25% - 35px);
  vertical-align: text-top;

  background: transparent;
  border-radius: 2rem;
  /* border: 6px solid #ECECED;
  background: #ececed; */
  background: var(--ehr-blue5);
}

@media (max-width: 1200px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(33% - 35px);
}
}
@media (max-width: 1023px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(50% - 35px);
}
}
@media (max-width: 640px) {
.ref_wrapper_all .ref_item {
  padding: 20px;
  width: calc(100% - 35px);
  margin-left: auto;
  margin-right: auto;
}
}

#content .ref_wrapper_all p.ref_image {
/*   width: 120px;
  height: 120px; */
}
#content .ref_wrapper_all p.ref_name {
  font-size: 1.35em;
  line-height: 1.2em;
  margin-top: 35px;
}
#content .ref_wrapper_all p.ref_text {
  font-size: 1.1em;
  line-height: 1.45em;
}

#content .ref_wrapper_all p.ref_image,
#content .ref_wrapper_all p.ref_image.logo {
  margin-top: 15px;
}

#content p.ref_image.logo {
  display: block;
  height: auto;
  width: auto;
  max-width: 85%;
  border-radius: .5rem;
  overflow: hidden;
  line-height: 0;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: white;
}
#content p.ref_image.logo.blank {
  background: transparent;
}
#content p.ref_image.logo img {

}


/* HOME FEATURED GRID */
.featured-grid-wrapper {
  float: inherit !important;
}


.featured-grid-wrapper .grid-items {
  display: -ms-grid;
  display: grid;
  -ms-grid-gap: 20px;
  grid-gap: 20px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  -ms-grid-auto-rows: 400px;
  grid-auto-rows: 400px;
  -ms-grid-auto-flow: dense;
  grid-auto-flow: dense;
}

.featured-grid-wrapper .grid-items .horiz {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
.featured-grid-wrapper .grid-items .vert {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.featured-grid-wrapper .grid-items .big {
  -ms-grid-column: span 2;
  grid-column: span 2;
  -ms-grid-row: span 2;
  grid-row: span 2;
}

@media (max-width: 1024px) {
.featured-grid-wrapper .grid-items {
  -ms-grid-gap: 15px;
  grid-gap: 15px;
  -ms-grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  -ms-grid-auto-rows: 350px;
  grid-auto-rows: 350px;
}
}
@media (min-width: 768px) and (max-width: 800px) {
.featured-grid-wrapper .grid-items {
  -ms-grid-auto-rows: 200px;
  grid-auto-rows: 200px;
}
.featured-grid-wrapper .grid-items .item {
  -ms-grid-row: span 2;
  grid-row: span 2;
}
.featured-grid-wrapper .grid-items .item.big {
  -ms-grid-row: span 3;
  grid-row: span 3;
}
}
@media (max-width: 680px) {
.featured-grid-wrapper .grid-items .item {
  -ms-grid-column: span 2;
  grid-column: span 2;
}
}


.featured-grid-wrapper .grid-items .item {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: #EEE;
  border: 1px solid white;
  border-radius: .5rem;
}

/* ITEM INDIVIDUAL STYLE */
.featured-grid-wrapper .grid-items .item.hospiz {
  background-image: url(../../../images/header-home/003-cut.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.unterstuetzung {
  background-image: url(../../../images/home/diego-ph-SZYreZsJ-fE-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.hospiz:hover,
.featured-grid-wrapper .grid-items .item.unterstuetzung:hover {
  background-size: auto 105%;
}

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

.featured-grid-wrapper .grid-items .item.gold {
  background: #D6BA73; /* #0B2027 #D6BA73 #2F4550 */
}

.featured-grid-wrapper .grid-items .item.spendenkonto {
  background: var(--ehr-cyan);
}
.featured-grid-wrapper .grid-items .item.spendenkonto,
#content .featured-grid-wrapper .spendenkonto h2 {
  color: white;
}

.featured-grid-wrapper .grid-items .item.paypal {
  background: white;
  border-color: #ffc438;
  text-align: center;
}

.featured-grid-wrapper .grid-items .item.paypal:hover {
  background: #ffc438;
  cursor: pointer;
}

/* CONTENT WRAPPER */
.featured-grid-wrapper .grid-items .item .item-content-wrapper {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 40px;
  padding: 0;
  width: calc(100% - 80px);
  border-radius: 2px;
}
.featured-grid-wrapper .grid-items .item.unterstuetzung .item-content-wrapper,
.featured-grid-wrapper .grid-items .item.hospiz .item-content-wrapper {
  padding: 20px 20px 15px 20px;
  background: white;
}

/* HOME FEATURED GRID */
#content .featured-grid-wrapper p {
  font-size: 95%;
  line-height: 1.2em;
}

#content .featured-grid-wrapper p a {
  box-shadow: inset 0 -0.19em 0 var(--ehr-cyan);
}
#content .featured-grid-wrapper p a:hover {
  box-shadow: inset 0 -1.38em 0 var(--ehr-cyan);
}
#content .featured-grid-wrapper .gold p a {
  box-shadow: inset 0 -0.19em 0 #61573e;
}
#content .featured-grid-wrapper .gold p a:hover {
  box-shadow: inset 0 -1.38em 0 #61573e;
}
#content .featured-grid-wrapper .grid-items .item.gold:hover p:last-child a {
  box-shadow: inset 0 -1.38em 0 #61573e;
  color: white;
}


#content .featured-grid-wrapper h2 {
  margin-top: 0;
  font-size: 1.65em;
}

#content .featured-grid-wrapper p.ref_image {
  display: none;
  margin: 0;
}

#content .featured-grid-wrapper p.ref_name {
  text-align: left;
  font-size: 1.65em;
  line-height: 1.1em;
  font-weight: 700;
  margin: 0 0 7px 0;
}

#content .featured-grid-wrapper p.ref_name-details,
#content .featured-grid-wrapper p.ref_text {
  font-style: normal;
  text-align: left;
  color: var(--ehr-gray);
  font-size: 95%;
  line-height: 1.2em;
}

#content .featured-grid-wrapper p.ref_link {
  text-align: left;
  margin: 0 0 23px 0;
}



/* */
div.unterstuetzung-spendenkonto-wrapper {
  background: var(--ehr-cyan);
  border: 3px solid var(--ehr-cyan);
  color: white;
  font-weight: 700;
  padding: 43px 25px 25px 25px;
  text-align: center;
  border-radius: .5rem;
  margin-bottom: 50px;
}
#content div.unterstuetzung-spendenkonto-wrapper h2 {
  color: white;
}

.featured-grid-wrapper .grid-items .item.spendenkonto a,
.top-tel a,
#content div.unterstuetzung-spendenkonto-wrapper a {
  color: white !important;
}



div.unterstuetzung-paypal-wrapper {
  background: white;
  border: 3px solid #ffc438;
  padding: 43px 25px 22px 25px;
  text-align: center;
  border-radius: .5rem;
  cursor: pointer;
}
div.unterstuetzung-paypal-wrapper:hover {
  background: #ffc438;
}
#content div.unterstuetzung-paypal-wrapper p.desc {
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}
#content div.unterstuetzung-paypal-wrapper img {
  max-width: 385px;
}


#content div.unterstuetzung-spendenkonto-wrapper h2,
#content div.unterstuetzung-paypal-wrapper h2 {
  margin-top: 0;
}


/* ANSPRECHPARTNER */
.ansprechpartner-wrapper img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0;
  max-width: 130px;
  overflow: hidden;
}
  
.ansprechpartner-wrapper { display: block; margin: 45px 0 0 0; padding: 0; }

.ansprechpartner-wrapper .person {
  display: flex;
  width: 100%;
  margin: 25px 0 0 0;
  background-color: rgba(0,0,0,.04);
  border-radius: .5rem;
  padding: 35px 15px 35px 15px;
}

.ansprechpartner-wrapper .person .person-daten p:last-of-type { margin-bottom: 0; }

.ansprechpartner-wrapper .person-img {
  display: inline-block;
  align-self: center;
  width: 25%;
  text-align: center;
}

.ansprechpartner-wrapper .person-daten {
  display: inline-block;
  align-self: center;
  width: 65%;
  margin-left: 4.5%;
  text-align: left;
}

@media (max-width: 640px) {
.ansprechpartner-wrapper .person {
  display: block;
  width: 100%;
}
.ansprechpartner-wrapper .person-img,
.ansprechpartner-wrapper .person-daten {
  display: block;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.ansprechpartner-wrapper .person-daten {
  margin-top: 30px;
}
}




/* DOWNLOADS */
#content .downloads-wrapper a {
  box-shadow: none;
  display: block;
}
#content .downloads-wrapper a:hover {
  background: none;
  cursor: pointer;
}


#content .downloads-wrapper .item p.thumb {
  line-height: 0;
}
#content .downloads-wrapper .item p.thumb img {
  width: auto;
  height: auto;
  max-height: 255px;
  margin-bottom: 7px;
  -webkit-box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.06);
  box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.06);
}
#content .downloads-wrapper .item p { font-size: 95%; line-height: 1.45em; text-align: center; }
#content .downloads-wrapper .item p:last-child { color: #777; margin-top: 11px; margin-bottom: 5px; }
#content .downloads-wrapper .item h3 { min-height: 60px; margin: 5px 0 10px 0; text-align: center; font-size: 1.2em; line-height: 1.1em; color: var(--ehr-cyan); }


#content .downloads-wrapper .item a:hover h3 { color: var(--ehr-gray); }


#content .downloads-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 30px; margin-top: 60px; margin-bottom: 40px; }
#content .downloads-wrapper .item { align-self: stretch; }

#content .downloads-wrapper .item {
  display: inline-block;
  background: rgba(0,0,0,.04);
  margin: 0;
  padding: 30px 35px;
  border-radius: .5rem;

  vertical-align: text-top;
}

@media (min-width: 1024px) { #content .downloads-wrapper .item { width: calc(33% - 30px); } }
@media (min-width: 1025px) { #content .downloads-wrapper .item { width: calc(33% - 30px); } }
@media (max-width: 1023px) { #content .downloads-wrapper .item { width: calc(50% - 30px); } }
@media (max-width: 580px) {
#content .downloads-wrapper .item {
  width: calc(90% - 35px);
  padding: 30px 40px;
  margin-left: auto;
  margin-right: auto;
}
#content .downloads-wrapper .item p.thumb img {
  max-height: 225px;
}
}




#content .two-columns-wrapper { display: flex; flex-flow: row wrap; align-content: flex-start; gap: 100px; margin-top: 60px; margin-bottom: 40px; }

#content .two-columns-wrapper .item {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: calc(50% - 50px);
  vertical-align: text-top;
}

@media (max-width: 768px) {
#content .two-columns-wrapper .item {
  width: calc(90% - 50px);
  padding: 0;
  margin-left: auto;
  margin-right: auto;
}
}



.jobs .blog .blog-items div[itemprop="blogPost"] h2 a {
  margin: 0;
  padding: 0;
  font-size: 82.5%;

  display: block;
  background: #ececed;
  padding: 40px 35px 45px 35px;
  border-radius: 0.75rem;
  margin-bottom: 25px;
  color: var(--ehr-cyan);
  text-decoration: none;
}

.jobs .blog .blog-items div[itemprop="blogPost"] h2 a:hover {
  color: var(--ehr-gray);
  text-decoration: none;
}
