/*
Theme Name: Divi Child
Description: Child theme for Divi theme
Author:
Author URI:
Template: Divi
Version: 1.0.0
Text Domain:  Divi
*/


@media (max-width: 600px) {
  .dtb_mobile #page-container #main-header .logo_container {
    height: 90px !important;
    text-align: center !important;
  }

  .dtb_mobile #main-header .et_menu_container {
    padding: 0 10px 40px !important;
  }

  .dtb_mobile #main-header .et_menu_container {
    padding: 10px 10px 40px !important;
  }
}

.et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
  padding-top: 99px !important;
}

@media (max-width: 980px) {
  .et_header_style_centered #main-header .mobile_nav {
    background-color: rgba(0, 0, 0, 0);
  }
}

@media (min-width: 600px) {
  .et_header_style_centered.dtb_mobile header#main-header .logo_container {
    height: 70px !important;
    text-align: center !important;
  }

  .dtb_mobile #page-container #main-header .logo_container {
    height: 80px !important;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .dtb_mobile #page-container #main-header #logo {
    height: 89% !important;
    max-height: 89% !important;
  }

  .et_fixed_nav.et_show_nav.et_header_style_centered #page-container {
    padding-top: 69px !important;
  }
}

@media (max-width: 980px) {

  .dtb_mobile #main-header .mobile_menu_bar,
  .et_header_style_centered.dtb_mobile #main-header .mobile_menu_bar {
    top: 15px !important;
  }
}

@media only screen and (min-width: 601px) {
  div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-column-50 {
    width: 50% !important;
  }

  div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-field-layout-preset-50-50 .wpforms-layout-column-50:nth-child(odd) {
    padding: 0 10px 0 0 !important;
  }

  div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-field-layout-preset-50-50 .wpforms-layout-column-50:nth-child(even) {
    padding: 0 0 0 10px !important;
  }
}

html[data-actw-focus-ring] body #page-container a.bild_in_link:focus:not(#dvmd_accessibility_wrapper *) {
	outline: none !important;
}
html[data-actw-focus-ring] body #page-container a.bild_in_link:focus:not(#dvmd_accessibility_wrapper *) img {
	outline: 3px solid var(--dvmd_actw_focus_ring_color) !important;
    outline-style: solid !important;
    outline-offset: 0 !important;
}

#headerkontakt a.menubutton:focus-visible {
  color: #FFFFFF !important;
  background-image: initial;
  background-color: #a68d70;
  border: 1px solid #a68d70;
}

#altEmail_container {
  display: none !important;
}

.et-db #et-boc .et-l .et_pb_module div.wpforms-container-full .wpforms-form label.wpforms-error {
  font-size: 16px !important;
  color: #ff0000 !important;
}

#wpforms-70-field_8-container {
  padding-top: 0px !important;
}

.et_pb_scroll_top.et-pb-icon {
  bottom: 30px !important;
}


@media screen and (min-width: 600px) and (max-width:980px) {
  #headerkontakt {
    width: 340px;
    position: absolute;
    right: -66px !important;
    top: 10px !important;
  }

  .dtb_mobile #main-header .et_menu_container {
    padding: 0px 10px 0px;
  }
}

@media screen and (max-width: 600px) {

  /*
	 * Ab hier Stile für die mobile timeline bei den medienbeiträgen
	 * */
  .dsm-pointer-wrapper,
  .dsm-content-timeline-tree {
    display: none;
  }

  #headerkontakt {
    width: 340px;
    position: absolute;
    right: -10px !important;
    bottom: -27px !important;
    top: unset !important;
  }

  .menubutton {
    font-size: 12px;
  }
}

@media (max-width: 980px) {
  .dtb_mobile #main-header #logo {
    margin-top: 0px;
  }

  .dtb_mobile #main-header .et_menu_container {
    padding: 10px 10px 40px;
  }
}

@media (max-width: 767px) {
  .dsm-content-timeline-items-wrapper.dsm-left .dsm-content-timeline-content-wrapper {
    margin-left: 0px !important;
  }
}

strong {
  font-weight: 500 !important;
}

.dmach-acf-item-container .dmach-acf-item-content,
.slide_center_mode .et_pb_de_mach_acf_slider_containter .slick-track {
  display: block;
}

.wp-block-divi-layout {
  margin: 50px 0px;
}

/* @media (max-width: 980px) {
  #page-container{
    padding-top:200px!important;
    }
  } */


::-moz-selection {
  background: #a68d70;
  color: #fff;
}

::selection {
  background: #a68d70;
  color: #fff;
}

#et-top-navigation {
  font-weight: 400 !important;
}

#headerkontakt {
  width: 340px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.menubutton:hover {
  color: #FFFFFF !important;
  background-image: initial;
  background-color: #a68d70;
  border: 1px solid #a68d70;
}

.menubutton {
  border: 1px solid #555555;
  color: #555555;
  margin-right: 20px;
  display: inline-block;
  border-width: 1px !important;
  border-radius: 0px;
  font-size: 14px;
  font-weight: 300 !important;
  padding: 0.3em 1em !important;
}

.kontaktbutton {
  display: inline-block;
  margin-right: 20px;
  position: relative;
  top: 7px;
}

.kontaktbutton img {
  width: 30px;
  height: 30px
}

.nav li ul {
  width: 280px;
}

#top-menu li li a {
  width: 260px;
}

#top-menu li.mega-menu>ul>li>a:first-child {
  font-weight: 600 !important;
}

#top-menu li.mega-menu ul li .wieueberschrift {
  margin-top: 20px !important;
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, .03);
  text-transform: uppercase !important;
}

@media (max-width: 980px) {
  #menu-hauptmenu-mobile .wieueberschrift a {
    text-transform: uppercase !important;
    font-weight: 600 !important;
  }

  #menu-hauptmenu-mobile ul.sub-menu {
    border-top: 1px solid #a68d70 !important;
    padding-top: 20px !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;
  }
}


#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;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  background-color: #a68d70 !important;
  padding-top: 12px !important;
  padding-right: 25px !important;
  padding-bottom: 12px !important;
  padding-left: 25px !important;
  box-shadow: 0px 2px 90px 0px rgb(37 97 239 / 24%) !important;
  transition: background-color 300ms ease 0ms, letter-spacing 300ms ease 0ms !important;
}

.wpforms-submit:hover,
.wp-block-button__link:hover {
  letter-spacing: 0px !important;
  background-image: initial;
  background-color: #a68d70b6 !important;
}


/*MODAL - Stand 08.11.2023/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: 99999;
  background-color: rgba(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: 10px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.page-with-modal .modalclose {
  z-index: 99;
  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: .8
}

.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, .5);
}

.et-fb #page-container .modal::before {
  content: "MODAL";
  color: rgba(255, 255, 255, .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 */

/* Slider Buttons bei Hover */
.et_pb_slider:focus-within .et-pb-arrow-prev {
  left: 22px;
  opacity: 1;
}

.et_pb_slider:focus-within .et-pb-arrow-next {
  right: 22px;
  opacity: 1;
}

/* Slider Buttons bei Hover ENDE */