/*
Theme Name: Divi Child
Description: Child theme for Divi theme
Author:
Author URI:
Template: Divi
Version: 1.0.0
Text Domain:  Divi
Tech Hub
*/

@media only screen and (max-width: 980px) {
	.wpforms-layout-column.wpforms-layout-column-50{width: 100%!important;}
}

@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
        margin-bottom: 50px;
        padding-bottom: 0px!important;
    }
}

html[data-actw-focus-ring] body #page-container :focus:not(#dvmd_accessibility_wrapper *), html[data-actw-focus-ring] body :focus:not(#dvmd_accessibility_wrapper *), html[data-actw-focus-ring] body.et-db #et-boc .et-l :focus:not(#dvmd_accessibility_wrapper *){outline-offset: 5px!important;}

.akzent { 
  color: #d4004b;
}
/*Klickfläche Divi Umschalter*/
#et-main-area .et_pb_toggle {padding: 0 !important;}
#et-main-area .et_pb_toggle .et_pb_toggle_title{padding: 18px;}
#et-main-area .et_pb_toggle .et_pb_toggle_title::before{right: 12px;}
#et-main-area .et_pb_toggle .et_pb_toggle_content{padding:0 18px 18px;}

@media only screen and (min-width: 981px) {
    #logo {
    height:auto;
    max-height: 80%;
    }
  }

#top-menu li.mega-menu > ul.sub-menu{
      box-shadow: 0 -5px 40px rgba(50, 50, 50, .1)!important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a.telicon::before {
    content: "\e090" !important;
    font-family: ETmodules !important;
    font-size: 16px !important;
    margin-right: 5px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: relative !important;
    left: 0px !important;
    right: auto !important;
    top: -1px !important;
}


a.mailicon::before {
    content: "\e076" !important;
    font-family: ETmodules !important;
    font-size: 16px !important;
    margin-right: 5px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    position: relative !important;
    left: 0px !important;
    right: auto !important;
    top: -1px !important;
}

a.telicon.iconfooter::before{font-size: 14px !important;}

#et-secondary-nav .menu-item a, #menu-mobile-menu .menu-item a {
  padding-left: 20px !important;
}
#menu-mobile-menu .menu-item.icon-menu-phone a::before,#menu-mobile-menu .menu-item.icon-menu-buchen a::before{
  font-family: ETmodules !important;
  font-size: 13px !important;
  margin-right: 5px !important;
  display: inline-block !important;
  vertical-align: middle !important;
  position: relative !important;
  left: 0px !important;
  right: auto !important;
  top: -2px !important;
}
#et-secondary-nav .menu-item a::before {
  font-family: ETmodules !important;
  font-size: 13px !important;
  margin-right: 5px !important;
  display: block !important;
  vertical-align: middle !important;
  position: absolute !important;
  left: 0px !important;
  right: auto !important;
  top: 1px !important;
}

#menu-mobile-menu li.icon-menu-phone a::before,
#et-secondary-nav li:nth-child(2) a::before {
  content: "\e090" !important;
}
#menu-mobile-menu li.icon-menu-buchen a::before,
#et-secondary-nav li:nth-child(1) a::before {
  content: "\e023" !important;
}
#et-secondary-nav li:nth-child(3) a::before {
  content: "\e090" !important;
}


@media only screen and (min-width: 1910px) {
#top-menu, .et-menu, nav#top-menu-nav, nav.et-menu-nav {
  float: none!important;
  text-align: right;
}
#et-top-navigation {
  width: 100%;
}
}

.et_pb_text_inner ul{padding-top: 8px!important;}

.et-fixed-header #top-menu li li a{padding: 3px 15px !important;}

.et_pb_text_inner h3:not(:first-of-type) {
  margin-top: 20px; /* Hier den gewünschten Abstand anpassen */
}
.et_pb_text_inner p + h3{
  margin-top: 20px; /* Abstand für h3 nach einem <p>-Element */
}
.et_pb_text_inner p + h4 ,.et_pb_text_inner ul + h4 {
  margin-top: 20px; /* Abstand für h3 nach einem <p>-Element */
}
#top-menu li.menu-item-has-children ul li.menu-item a,
#top-menu li.menu-item.menu-item-has-children  ul  li.menu-item ul  li.menu-item  a {  
  padding-bottom: 2px !important;
}



h1,h2,h3{hyphens: auto;}

/* make the whole grid article clickable not just the title and image */
.bloggrid .et_pb_post {
  position: relative;
  }
  
  .bloggrid .et_pb_post .entry-title a:after {
  position: absolute;
  display: block;
  content: " ";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  }
  
  .bloggrid .et_pb_post:hover {
  cursor: pointer;
  }

/********************************* Slider Zitatbild *********************************/
#main-content .zitateslider .et_pb_slide{background-size: 52px!important;}

/********************************* Markierter Text Farbe *********************************/
::-moz-selection {
  background: #333;
  color: #fff;
}
::selection {
  background: #333;
  color: #fff;
}

/********************************* TOP Menu *********************************/
/* #top-header {
  background: rgb(204, 172, 107);
  background: linear-gradient(
    90deg,
    rgba(204, 172, 107, 1) 0%,
    rgba(235, 219, 156, 1) 100%
  );
} 
#et-info a,
#et-secondary-menu > ul > li > a {
  color: #000 !important;
}*/
/* ul#top-menu li.current-menu-ancestor>a, 
ul#top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    color: #906f31 !important;
} */
/********************************* MEGA Menu *********************************/
#top-menu li.mega-menu > ul > li > a:first-child {
  font-weight: 400 !important;
  text-transform: uppercase !important;
  color: #333333 !important;
  letter-spacing: 1px;
}
.et_fullwidth_nav #top-menu li.mega-menu > ul {
  width: auto;
  max-width: 1200px;
  left: 30px !important;
  right: 30px !important;
  margin: auto;
}

#top-menu li.mega-menu ul li .wieueberschrift {
  margin-top: 20px !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  text-transform: uppercase !important;
}

/* @media (min-width: 981px) {
  #top-menu li.mega-menu li>a {
    width: 350px!important;
}
  #menu-hauptmenu li.mega-menu>ul>li {
      width: 33.33%;
  }
   
  #menu-hauptmenu li.mega-menu>ul>li:nth-of-type(4n) {
      clear: unset;
  }
   
  #menu-hauptmenu li.mega-menu>ul>li:nth-of-type(4n+1) {
      clear: unset;
  }
  } */
/********************************* MEGA Menu ENDE *********************************/

.et_pb_blurb_position_left .et_pb_blurb_container {
  padding-left: 10px !important;
}

.more-link {
  top: 20px;
  position: relative;
}

@media (max-width: 980px) {
  .et_pb_column.et-last-child {
    margin-bottom: 0px !important;
  }
  .wp-element-caption {
    line-height: 1.6em;
  }
}
.entry-content ul li,
.entry-content ol li {
  padding-bottom: 6px;
}
.et_pb_toggle_content p {
  padding-bottom: 10px;
}
/*********************************
style mobile fixed header
*********************************/
#et-info {
  display: flex;
  gap: 13px;
}
#custom-link-desktop {
    display: none;
  }
  .et-info-divider-desktop {
    display: none;
  }
  @media (max-width: 980px) {
    #top-header > div {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
  }
@media (min-width: 1270px) {
  #custom-link {
    display: none;
  }
  #custom-link-desktop {
    display: block;
  }
  .et-info-divider {
    display: none;
  }
  .et-info-divider-desktop {
    display: block;
  }
}

.punktausblenden {
  display: none !important;
}
@media (max-width: 980px) {
  .punktausblenden {
    display: block !important;
  }
  .et_non_fixed_nav.et_transparent_nav #main-header,
  .et_non_fixed_nav.et_transparent_nav #top-header,
  .et_fixed_nav #main-header,
  .et_fixed_nav #top-header {
    position: fixed;
  }
}

.et_mobile_menu {
  overflow: scroll !important;
  max-height: 83vh;
}

/*********************************
Tabs zu Akkordeons umwandeln
*********************************/

@media only screen and (min-width: 600px) {
  .et_pb_tabs_controls li a {
    width: 800px !important;
  }
}

@media only screen and (min-width: 980px) {
  .et_pb_tabs_controls li a {
    width: auto !important;
  }
}

@media only screen and (max-width: 980px) {
  .et_pb_all_tabs {
    display: none;
  }
  .et_pb_tabs_controls li a {
    width: 320px;
    padding: 12px 30px;
  }
  .et_pb_tab_content ul {
    padding: 0px;
  }
  .et_pb_tab_content ul li {
    font-size: 14px !important;
    background-color: rgba(255, 255, 255, 0) !important;
    list-style-type: disc;
    float: unset !important;
    display: list-item;
  }
  .et_pb_tab_content ol li {
    font-size: 14px !important;
    background-color: rgba(255, 255, 255, 0) !important;
    list-style-type: auto;
    float: unset !important;
    display: list-item;
  }
  /* .et_pb_tab_content ul{padding: 0px 0px 10px 5px!important;} */
  /* .et_pb_tab_content ul li::before{content: "\2022";
  color: #33475B;padding-right: 5px;font-size: 20px;}
*/
}

@media only screen and (max-width: 980px) {
  ul.et_pb_tabs_controls > li:after {
    font-family: "ETMODULES";
    font-family: "ETMODULES";
    content: "\33";
    text-align: center;
    vertical-align: middle;
    margin-right: 10px;
    margin-left: 10px;
    color: #33475b;
    position: absolute;
    right: 8px;
    font-size: 1em;
    transition: all 0.3s ease;
    display: block;
    top: 11px;
    pointer-events: none;
  }
  ul.et_pb_tabs_controls > li.active-tab:after {
    font-family: "ETMODULES";
    content: "\32";
  }
}
/*********************************
Tabs zu Akkordeons umwandeln - ENDE
*********************************/

.column-sixty {
  width: 60% !important;
}
.column-fourty {
  width: 40% !important;
}

@media only screen and (max-width: 980px) {
  .column-sixty {
    width: 100% !important;
  }
  .column-fourty {
    width: 100% !important;
  }
}

/* .pfeilhover h3:hover .et-pb-icon{margin-left:15px;} */
.pfeilhover:hover .et-pb-icon {
  margin-left: 15px;
}
.pfeilhover {
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .pfeilhover .et-pb-icon {
    position: relative;
    top: 3px;
  }
}

.et-pb-icon {
  font-size: 20px; /*margin-left: 10px;*/
}

strong,
b {
  font-weight: 500;
}
@media only screen and (max-width: 980px) {
  strong,
  b {
    font-weight: 500;
  }
}

.entry-content ol {
  list-style-position: outside;
  padding: 10px 0 23px 18px;
}
.entry-content .et_pb_toggle ul,
.entry-content .et_pb_toggle ol {
  list-style-position: outside;
  padding: 10px 0 23px 20px;
}
.entry-content .et_pb_tab ul,
.entry-content .et_pb_tab ol {
  list-style-position: outside;
  padding: 10px 0 23px 20px;
}

/* ----------------------------------- ANFANG TABLE STYLE ----------------------------------- */

/* ---- Grundgerüst ---- */
    .zeitplan-wrapper {
      font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      /* überlauf erlaubt horizontales Scrollen auf schmalen Bildschirmen,
         ohne dass Inhalt abgeschnitten wird */
      overflow-x: auto;
    }

    table.zeitplan {
      border-collapse: separate;
      border-spacing: 8px;
      width: 100%;
      min-width: 640px;
      caption-side: top;
    }

    /* Beschreibung der Tabelle – sichtbar und für Screenreader nutzbar */
    table.zeitplan caption {
      text-align: left;
      font-size: 1.25rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }

    /* ---- Zellen ---- */
    .zeitplan th,
    .zeitplan td {
      padding: 16px 20px;
      text-align: left;
      vertical-align: top;
      line-height: 1.45;
    }

    /* Spaltenüberschriften – dunklere Abstufung des Hellgraus */
    .zeitplan thead th {
      background-color: #cdd6e1;
      font-weight: 700;
    }

    /* Datenzeilen – Hellgrau */
    .zeitplan tbody th,
    .zeitplan tbody td {
      background-color: #f2f5f9;
      font-weight: 400;
    }

    /* Zeilenkopf (Phase) optisch leicht hervorheben */
    .zeitplan tbody th {
      font-weight: 600;
    }

    /* ---- Fokus-Sichtbarkeit für Tastaturnutzung ---- */
    .zeitplan-wrapper:focus-within {
      outline: none;
    }
    .zeitplan-wrapper:focus {
      outline: 3px solid #5a6675;
      outline-offset: 2px;
    }

    /* ---- Responsives Verhalten ---- */
    @media (max-width: 600px) {
      .zeitplan th,
      .zeitplan td {
        padding: 12px 14px;
        font-size: 0.95rem;
      }
    }

    /* Respektiert Nutzer:innen, die Bewegung reduzieren möchten */
    @media (prefers-reduced-motion: reduce) {
      * { scroll-behavior: auto; }
    }

/* ----------------------------------- ENDE TABLE STYLE ----------------------------------- */

.et_pb_image_container {
  margin: 0px !important;
}
.et_pb_blog_grid .et_pb_post {
  padding: 0px;
}

ul.et_pb_tabs_controls:after {
  border-top: 0px;
}
.et_pb_tab_content h3 {
  padding-bottom: 20px;
  line-height: 1.5em;
}

li::marker {
  color: #333333;
}

.textbutton.et_pb_button:hover:after {
  margin-left: 0.8em !important;
}

a.et_pb_button:focus-visible,
a.et_pb_button:focus {
  outline-offset: 4px !important;
}

.et-pb-arrow-prev {
  left: -15px !important;
  opacity: 1 !important;
}
.et-pb-arrow-next {
  right: 0px !important;
  opacity: 1 !important;
}

.sprungicons .et_pb_blurb_container {
  padding-left: 5px;
}

#et-info {
  float: right !important;
  margin-left: 22px;
}

/*PW-protected*/
.et_password_protected_form {
  max-width: 400px;
  margin: 150px auto 150px;
  text-align: center;
}
/*BORLABS*/
._brlbs-google-maps {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
._brlbs-google-maps img {
  width: 100%;
  height: 100%;
}

.wpforms-submit,
.wp-block-button__link {
  color: #ffffff !important;
  border-color: RGBA(255, 255, 255, 0) !important;
  border: 1px solid #003064 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  border-radius: 0px !important;
  font-size: 14px !important;
  background-color: #003064 !important;
  padding-top: 17px !important;
  padding-right: 30px !important;
  padding-bottom: 17px !important;
  padding-left: 30px !important;
  transition: background-color 300ms ease 0ms, letter-spacing 300ms ease 0ms !important;
}
.wpforms-submit:hover,
.wp-block-button__link:hover {
  letter-spacing: 2px !important;
  background-image: initial;
  background-color: #ffffff !important;
  color: #003064 !important;
}

/*MODAL - Stand 05.11.2020/MW */
.page-with-modal .modal {
  animation: fade 1s forwards;
  animation-delay: 0s;
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 999999999;
  background-color: rgba(0, 0, 0, 0.5) !important;
}
.page-with-modal .modal .modalinner {
  min-width: 300px;
  max-height: 90% !important;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px 0;
  margin: 0 auto;
  width: 100%;
  max-width: 700px !important;
  background-color: #fff;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.page-with-modal .modalclose {
  color: #006f43;
  transition: all.5s;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 27px;
  font-weight: 600;
  z-index: 9;
}
.page-with-modal .modalclose:hover,
.modallink:hover,
.modallink3:hover {
  cursor: pointer;
  opacity: 1;
}
.active_modal {
  display: inline-block !important;
}
.active_modal_body {
  overflow: hidden !important;
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.et-fb #page-container .modal {
  background-color: rgba(0, 0, 0, 0.5);
}
.et-fb #page-container .modal::before {
  content: "MODAL";
  color: rgba(255, 255, 255, 0.1);
  font-size: 55px;
  position: absolute;
  text-align: center;
  width: 100%;
  top: 8px;
}
.et-fb #page-container .modal .et_pb_row {
  background-color: #fff;
  padding: 0 10px;
}
.page-with-modal .modal:hover {
  cursor: zoom-out;
}
.page-with-modal .modal .modalinner:hover {
  cursor: default !important;
}
/* ENDE MODAL */

/********************************* Fokusrahmen *********************************/
*:focus:not(:focus-visible) {
  outline: none !important;
}
*:focus-visible {
  outline: 2px solid black !important;
  offset: 2px;
}
/* .focus-color-white :focus-visible {
  outline-color: #ffffff !important;
} */

/* Menu-Logo-Fokusrahmen */
a:focus img#logo {
  outline: 2px solid #000 !important;
  offset: 2px;
}
.logo_container a:focus {
  outline: none !important;
}

/********************************* Fokusrahmen ENDE *********************************/

/* ----------------------------------- ANFANG Custom STYLE (wegen Cache auch hier und in Theme Options) ----------------------------------- */
#top-menu li.mega-menu>ul{padding: 20px 10px!important;}
.single-post h1{padding-bottom:0px!important;}
#top-menu li li a{padding: 3px 15px !important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-28153  > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-28154  > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-28155  > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}

#top-menu li.mega-menu .leerer-menupunkt.menu-item-27584  > a:first-child{color:#ffffff!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-27755  > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-27758 > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-27759 > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-29141 > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-29142 > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
#top-menu li.mega-menu .leerer-menupunkt.menu-item-29143 > a:first-child{color:#ffffff!important;height:0px;border-bottom: 0px solid!important;}
.et_fullwidth_nav #top-menu li.mega-menu > ul {box-shadow: 0 -5px 40px rgba(50, 50, 50, .1);}
.single .et_pb_post{margin-bottom: 0px;}
.single .post {padding-bottom: 0px;}

#et-info-phone:before{display: inline-block;width: 12px;height: 12px;}
@media (max-width: 767px){	
body.et_fixed_nav.et_secondary_nav_two_panels #main-header {
    top: 30px!important;
}}
@media (min-width: 1330px) {
#custom-link{display: none;}
}

/* #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, #top-menu li.current_page_item>a {
    color: #906f31!important;
}
.et-fixed-header #top-menu li.current-menu-ancestor>a, .et-fixed-header #top-menu li.current-menu-item>a, .et-fixed-header #top-menu li.current_page_item>a {
    color: #906f31!important;
} */

/* ----------------------------------- ENDE Custom STYLE ----------------------------------- */