.rd-banner {
  min-height: 0 !important;
  height: auto;
  display: block;
  padding: 0;
}
.wp-block-spacer.banner-spacer {
  height: 0px !important;
}
.wp-block-cover.rd-banner img {
  position: relative;
}
BODY:not(.is_home) DIV.header-spacer {
  margin-top: 65px;
}

.hero-header-bild.has-icon img {
  position: absolute;
  width: 100px;
  height: 100px;
  bottom: -50px;
}
@media screen and (min-width: 48em) {
  .hero-header-bild.has-icon img {
    width: 150px;
    height: 150px;
    bottom: -75px;
  }
  .hero-header-bild.has-icon {
    margin-bottom: 0;
  }
}
@media screen and (min-width: 64em) {
  .hero-header-bild.has-icon {
    height: 650px;
    margin-bottom: 30px;
  }
  .hero-header-bild.has-icon img {
    width: 250px;
    height: 250px;
    bottom: -125px;
  }
}

.hero-header-bild.has-icon .inner {
  position: relative;
}
.reduced-width {
  max-width: 700px;
  margin: auto;
}

.hvo-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hvo-list h4 {
  color: #fff;
}

.animated-icon-list .hvo-list.animated-icon img {
  width: 80px;
  height: 80px;
}
.has-primary-color-background-color .animated-icon-list {
  max-width: 75rem;
}
@media screen and (min-width: 1024px) {
  BODY:not(.is_home) DIV.header-spacer {
    margin-top: 110px;
  }
}
@media screen and (min-width: 1092px) {
  BODY:not(.is_home) DIV.header-spacer {
    margin-top: 100px;
  }
}

/* console error fix - missing image */
.acf-map .complianz-map {
  background-image: url(../img/hph/placeholder-google-maps.jpg);
  background-size: cover;
}

header
  .mainnavigation
  ul.dropdown
  li.menu-item:hover
  ul.sub-menu.deep-row
  > li.menu-item
  ul.child-menu
  > li.menu-item.external-link
  a::before {
  display: inline-block !important;
}

a[href*="//"]:not([href*="www.doerner.de"])
{
  position: relative;
  padding-right: 20px;
}

a.wp-element-button[href*="//"]:not([href*="www.doerner.de"]),
a.btn[href*="//"]:not([href*="www.doerner.de"])
{
  position: relative;
  padding-right: 48px;
}

a[href*="//"]:not([href*="www.doerner.de"], .btn)::before,
.external-link a::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  background: url("../img/hph/external_link.svg") no-repeat center left;
  background-size: auto;
  background-size: 100% auto;
}
a.wp-element-button[href*="//"]:not([href*="www.doerner.de"], .btn)::before,
a.btn[href*="//"]:not([href*="www.doerner.de"], .btn)::before
{
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  background: url("../img/hph/external_link.svg") no-repeat center left;
  background-size: auto;
  background-size: 100% auto;
}
a[href*="//"]:not([href*="www.doerner.de"]).invisible_link::before
{
  top: unset;
  bottom: 10px;
  right: 10px;
  transform: translateY(0%);
}
NAV a[href*="//"]:not([href*="www.doerner.de"], .btn)::before,
.external-link a::before {
  right: -10px;
  width: 8px;
  height: 8px;
  min-width: 8px;
}
FOOTER.foot a[href*="//"]:not([href*="www.doerner.de"], .btn)::before
{
  filter: brightness(0.45);
}
.menu-social-nav-container a[href*="//"]:not([href*="www.doerner.de"])::before
{
  content: none;
}
.slick-slide img.icon {
  object-fit: contain !important;
}
.kontaktbar-ansprechpartner small {
  color: #fff;
}
.factlist-pretitle span {
  color: #fff;
}

.acf-map {
  position: relative;
}
.map_consent {
  position: absolute;
  z-index: 99;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 60px;
  width: 90%;
  opacity: 0.9;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
}
.map_consent_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 780px) {
  .map_consent {
    padding: 20px;
    opacity: 1;
  }
  .map_consent_inner {
    gap: 0;
  }
}
@media screen and (max-width: 400px) {
  .map_consent {
    padding: 10px;
    top: 55%;
    font-size: 14px !important;
  }
  .map_consent .map_consent_inner p {
    font-size: 14px !important;
  }
}
@media screen and (max-width: 345px) {
  .map_consent {
    top: 60%;
  }
}
/* YOUTUBE VIDEO */

.youtube_video {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.youtube_video .yt_poster {
  margin: 0 auto;
}
.youtube_video .infotext {
  opacity: 0;
}
.youtube_video:hover .infotext {
  opacity: 1;
}
.youtube_video .infotext_wrap {
  width: 70%;
  opacity: 0.9;
  min-width: 320px;
  position: absolute;
  background: rgba(255, 255, 255, 0);
  transform: translate(-50%, -15%);
  transition: all 350ms ease-in-out;
  left: 50%;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  top: 50%;
}
.youtube_video:hover .infotext_wrap {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%);
}
.youtube_video .video_frame {
  margin: 0 auto;
  width: 96%;
  max-width: 1170px;
  min-width: 320px;
}

.youtube_video.touch .infotext_wrap {
  background: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%);
}
.youtube_video.touch .infotext {
  opacity: 1;
}

.youtube_video .video_frame iframe {
  width: 96%;
  max-width: 1170px;
  min-width: 320px;
  height: 100%;
  min-height: 600px;
  border: 0;
}
@media screen and (max-width: 780px) {
  .youtube_video .video_frame iframe {
    min-height: 400px;
  }
  .youtube_video .infotext_wrap {
    opacity: 1;
  }
}
.youtube_video .play_btn {
  cursor: pointer;
  width: 80px;
  height: 60px;
  background: crimson;
  display: block;
  margin: 20px auto;
  border-radius: 15px;
  position: relative;
}
.youtube_video .play_btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-left: 30px solid #fff;
  border-bottom: 15px solid transparent;
  border-radius: 2px;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 600px) {
  .map_consent {
    padding: 15px;
    width: 100%;
  }
  .youtube_video .infotext_wrap {
    width: 100%;
  }
}

/* JOBS */

/* In Webseite enthaltenes Stil-Dokument #16 | https://doerner.de/job-listen-test/ */

.hph_job_list {
  list-style: none;
  width: 96%;
  margin: 0 auto;
  max-width: 1300px;
}

.job_info_list {
  list-style: none;
}

.hph_job_list_entry {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
  border-top: 4px solid #2578cb;
  padding: 25px 0 30px;
  margin: 30px auto;
}
.job_info_header,
.job_info_footer {
  padding: 0 35px;
}
.job_info_list {
  display: flex;
  gap: 30px 80px;
  background: #fafafa;
  padding: 13px 25px;
  margin: 0;
}

@media screen and (max-width: 630px) {
  .job_detail_leftcol .job_info_list {
    flex-direction: column;
    gap: 10px 20px;
    padding: 0;
  }
}

/* In Webseite enthaltenes Stil-Dokument #16 | https://doerner.de/job-listen-test/ */

.btn.btn_white {
  border: 1px solid #d8d8d8 !important;
  color: #10459d !important;
  background: #fff !important;
  transition: 350ms all ease;
}
.btn.btn_white:hover {
  background: #10459d !important;
  color: #fff !important;
  border: 1px solid #10459d !important;
}

.job_info_footer {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

/* In Webseite enthaltenes Stil-Dokument #16 | https://doerner.de/job-listen-test/?job_hph=1499b6c3-8e5c-4211-b29f-fc393b8a3b60 */

.job_detail_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 50px;
  width: 96%;
  max-width: 1300px;
  margin: 30px auto;
}

.job_detail_leftcol {
  flex: 1 60%;
  border-top: 4px solid #2578cb;
  margin: 30px auto;
  padding: 65px;
  width: 96%;
  max-width: 850px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.2);
}

.job_detail_rightcol {
  flex: 1 30%;
  width: 96%;
  max-width: 400px;
  background: linear-gradient(-29deg, #2578cb 0%, #10439b 100%);
  color: #fff !important;
  align-self: flex-start;
  padding: 25px 30px;
  margin: 30px auto;
}

.caldera-grid .wp-block-button__link:not(.has-background),
.caldera-grid .wp-block-button__link:not(.has-text-color) {
  color: white;
}

/* stellenangebote */
.job_detail_inner .popup {
  display: none;
}

#foot .legal-menu ul li {
  padding: 0 4px;
}
#foot .legal-menu ul {
  top: -5px;
  position: relative;
}

/* downloads quick fix */
/* https://www.doerner.de/downloads/ */
/* https://github.com/siteway/OTTO-DOERNER-GmbH-Co.-KG/issues/19 */

ul.downloads li:nth-child(odd) {
  background: none;
}
ul.downloads li.highlight {
  background: #f4f6fa;
}

/* back to top */
@media screen and (max-width: 630px) {
  body #back-to-top-button {
    bottom: 10px;
    right: 10px;
  }
}

/* gravity forms styling 22-01-2025 */

.gform_wrapper {
  padding: 0 !important;
}
.gform_wrapper h3 {
  font-weight: bold;
  color: #10439b!important;
  font-size: 30px;
}
.gform_wrapper [type="submit"]{
	padding: 16px 48px;
    min-height: 40px;
    display: inline-block;
    text-align: center;
    border-radius: 40px;
    font-size: 1.4rem !important;
    font-weight: 600;
    min-width: 180px;
	line-height: 1!important;
}
.gform_not_found{
	display: none!important;
}